Re: [Stlport-devel] problems compiling on HP-UX hprx02 B.11.31 U ia64
Brought to you by:
complement
From: Gubenko, B. <bor...@hp...> - 2008-11-13 21:24:23
|
Petr Ovtchenkov wrote: > Sometimes errno defined elsewhere outside errno.h: in compiler-specific > headers or in stdlib.h, or ... : It is, certainly, possible and likely to be the case here. This is why I asked Meir for a reproducer. Thanks, Boris > -----Original Message----- > From: Petr Ovtchenkov [mailto:pt...@vo...] > Sent: Thursday, November 13, 2008 3:58 PM > To: stl...@li... > Subject: Re: [Stlport-devel] problems compiling on HP-UX hprx02 B.11.31 > U ia64 > > On Thursday 13 November 2008 22:29:24 Gubenko, Boris wrote: > > Meir, > > > > I downloaded STLport 5.1.7 and could not reproduce your compilation > > problem with x.cpp below: > > > > x.cpp > > ----- > > #include <errno.h> > > > > bash-2.03$ aCC -V > > aCC: HP C/aC++ B3910B A.06.17 [Mar 4 2008] > > bash-2.03$ uname -a > > HP-UX B.11.31 U ia64 > > bash-2.03$ export STLPORT_ROOT=$HOME/STLport-5.1.7/STLport-5.1.7 > > bash-2.03$ aCC -c -Aa -mt -I $STLPORT_ROOT/stlport x.cpp > > bash-2.03$ > > > > And, as you can see from the include file hierarchy below, STLport > jacket > > stlport/errno.h is included before native header > /include_std/errno.h, as > > expected: > > ... > > Sometimes errno defined elsewhere outside errno.h: in compiler-specific > headers or in stdlib.h, or ... : > > /usr/include/X11/Xtrans/Xtranssock.c:#define errno sock_errno() > /usr/include/c++/4.2.4/cerrno:#define errno errno > /usr/include/bits/errno.h:# define errno (*__errno_location ()) > > (you see, only bits/errno.h included from errno.h) > > -- > > - ptr > > ----------------------------------------------------------------------- > -- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Stlport-devel mailing list > Stl...@li... > https://lists.sourceforge.net/lists/listinfo/stlport-devel |