This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]