[Bug c/40411] New: -std=c99 does not enable c99 mode in Solaris C library

heydowns at borg dot com gcc-bugzilla@gcc.gnu.org
Wed Jun 10 22:44:00 GMT 2009


On Solaris, the C library does not operate in c99 compliant mode by default. 
If c99 compliant operation is desired, the object file
/usr/lib/{32,64}/values-xpg6.o needs to be linked.  The details are in the
Solaris standards(5) manpage.

When linking using "gcc -std=c99", gcc does not instruct the linker to include
this object file.


-- 
           Summary: -std=c99 does not enable c99 mode in Solaris C library
           Product: gcc
           Version: 3.4.6
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: heydowns at borg dot com
 GCC build triplet: sparc-sun-solaris2.10
  GCC host triplet: sparc-sun-solaris2.10
GCC target triplet: sparc-sun-solaris2.10


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411



More information about the Gcc-bugs mailing list