[Bug c++/13904] New: snprintf and other functions don't work on AIX

ericnb at yahoo dot com gcc-bugzilla@gcc.gnu.org
Wed Jan 28 22:29:00 GMT 2004


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



More information about the Gcc-bugs mailing list