Public bug reported:

I am compiling code with "gcc -std=gnu99". According to the gcc man page, gnu99 
means the C99 standard with GNU (ie POSIX) extensions.

However, compiling something like:

   inline int plus_2 (int x) { return x + 2 ; }

results in the warning:

warning: C99 inline functions are not supported; using GNU89

I am not using gnu89, I'm using gnu99. This worked for gcc-4.1 and
earlier.

** Affects: gcc-defaults (Ubuntu)
     Importance: Undecided
         Status: New

-- 
gcc-4.2 : regression for -std=gnu99
https://bugs.launchpad.net/bugs/159923
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to