__strtoll, __strtoull and _GLIBCPP_USE_LONG_LONG under hppa64-hpux

John David Anglin dave@hiauly1.hia.nrc.ca
Thu Apr 11 11:19:00 GMT 2002


I noticed when I tried a static link of capacity.cc that __strtoll and
__strtoull are not defined under hppa64-hpux.  I know that various solutions
for the long long issue have been proposed but none seem to have received
approval.

Since strtoll and strtoull are not available, is a reasonable solution
to this problem just to add an ifdef __LP64__ to hpux/os_defines.h
defining _GLIBCPP_USE_LONG_LONG to be 0?  We need to eliminate the
undefined symbols.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)



More information about the Libstdc++ mailing list