public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug manual/4596] According to the manual, GCC predefines __POSIX__
       [not found] <bug-4596-131@http.sourceware.org/bugzilla/>
@ 2012-02-18 18:24 ` jsm28 at gcc dot gnu.org
  0 siblings, 0 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-02-18 18:24 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=4596

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-02-18 18:24:20 UTC ---
Fixed (removed the paragraph without adding anything about #system(posix),
given the deprecation of assertions).

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug manual/4596] According to the manual, GCC predefines __POSIX__
  2007-06-07  2:42 [Bug manual/4596] New: " bartoldeman at users dot sourceforge dot net
  2007-06-07  9:55 ` [Bug manual/4596] " jakub at redhat dot com
@ 2007-06-07 10:01 ` schwab at suse dot de
  1 sibling, 0 replies; 3+ messages in thread
From: schwab at suse dot de @ 2007-06-07 10:01 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From schwab at suse dot de  2007-06-07 10:00 -------
#assert is deprecated.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4596

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug manual/4596] According to the manual, GCC predefines __POSIX__
  2007-06-07  2:42 [Bug manual/4596] New: " bartoldeman at users dot sourceforge dot net
@ 2007-06-07  9:55 ` jakub at redhat dot com
  2007-06-07 10:01 ` schwab at suse dot de
  1 sibling, 0 replies; 3+ messages in thread
From: jakub at redhat dot com @ 2007-06-07  9:55 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From jakub at redhat dot com  2007-06-07 09:55 -------
gcc doesn't predefine __POSIX__, but system(posix) assertion on POSIX systems.
So you can test e.g.
#if #system(posix)
# include <unistd.h>
...
#endif
But not sure how portable that is, #assert is a GCC extension, eventhough a
bunch of compilers have it too.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4596

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-18 18:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-4596-131@http.sourceware.org/bugzilla/>
2012-02-18 18:24 ` [Bug manual/4596] According to the manual, GCC predefines __POSIX__ jsm28 at gcc dot gnu.org
2007-06-07  2:42 [Bug manual/4596] New: " bartoldeman at users dot sourceforge dot net
2007-06-07  9:55 ` [Bug manual/4596] " jakub at redhat dot com
2007-06-07 10:01 ` schwab at suse dot de

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).