This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13904] New: snprintf and other functions don't work on AIX
- From: "ericnb at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2004 22:29:03 -0000
- Subject: [Bug c++/13904] New: snprintf and other functions don't work on AIX
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
On AIX 5.2, the file /usr/include/standards.h sets the value of _XOPEN_SOURCE
to be 600 since _ALL_SOURCE is defined by default. However, in the stdio.h
file that is part of the gcc distribution, the test to enable all of the safe
print functions, snprintf, vsnprintf, etc. are only seen if
_XOPEN_SOURCE==500. AIX headers all check that _XOPEN_SOURCE>=500.
--
Summary: snprintf and other functions don't work on AIX
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ericnb at yahoo dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13904