This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Re: Patch for libstdc++-v3 on HP-UX


> The problem is that these macros are defined in c++config but
> c++config includes the hpux/os_defines.h file before it defines the
> macros.  I suppose we could try changing c++config to define the
> macros before including the system specific headers but that might
> just cause more problems on other platforms.  My proposal is to just
> not use the macros.
> 
> OK for checkin?

This won't work for inclusion as "C", not C++. So, I'd rather try to
define the macros before inclusion of system specific headers. 

I looked through os_defines.h and cpu_defines.h: I think this will be
possible, as attached. 

tested x86/linux

-benjamin

Attachment: p.20080428-2
Description: Text document


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