[Bug c/31389] [4.3 Regression] undefined reference with inline function and -std=gnu99

2007-03-29 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-03-29 15:15 --- Plain inline without any thing which says static or extern in C99 is the same as what GNU-C90 considers as their "extern inline" and not what C99 considers as "extern inline". If you add a prototype that says extern

[Bug c/31389] [4.3 Regression] undefined reference with inline function and -std=gnu99

2007-03-29 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-03-29 14:24 --- Inline behavior is now C99 compatible by default, you need to use extern inline in this case. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/31389] [4.3 Regression] undefined reference with inline function and -std=gnu99

2007-03-29 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2007-03-29 11:51 --- I forgot to mention that it works fine with 4.1. -- tbm at cyrius dot com changed: What|Removed |Added