public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "heydowns at borg dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/40411]  New: -std=c99 does not enable c99 mode in Solaris C library
Date: Wed, 10 Jun 2009 22:44:00 -0000	[thread overview]
Message-ID: <bug-40411-8573@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2009-06-10 22:44 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-10 22:44 heydowns at borg dot com [this message]
2009-06-17 15:13 ` [Bug target/40411] " heydowns at borg dot com
2009-06-17 15:24 ` rguenth at gcc dot gnu dot org
2009-06-17 15:34 ` joseph at codesourcery dot com
2009-06-17 16:40 ` heydowns at borg dot com
2009-06-17 19:43 ` rguenth at gcc dot gnu dot org
2009-06-18 21:26 ` heydowns at borg dot com
2009-06-18 21:49 ` joseph at codesourcery dot com
2009-07-02 14:46 ` heydowns at borg dot com
2009-07-04  7:57 ` ebotcazou at gcc dot gnu dot org
2009-07-04 11:49 ` joseph at codesourcery dot com
2009-07-04 15:03 ` heydowns at borg dot com
2009-07-04 16:46 ` ebotcazou at gcc dot gnu dot org
2009-07-10 14:41 ` heydowns at borg dot com
2009-07-16 21:11 ` heydowns at borg dot com
2009-10-09 19:38 ` heydowns at borg dot com
2009-10-09 19:42 ` rguenth at gcc dot gnu dot org
2009-11-20 17:53 ` ro at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-40411-8573@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).