Re: [Boost-users] "Re: Boost, HP-UX and gcc"

Hi Boris, No help there. I'm still getting the same errors. I'm willing to look at it some more if you have any more suggestions. How can I turn off the building of the python and serialization libraries? There are other libraries that may be broken with HP, too and I'd like to exclude those from the build. Stacie
-------- Original Message -------- Subject: Re: [Boost-users] "Re: Boost, HP-UX and gcc" From: "Boris Gubenko"
Date: Thu, February 21, 2008 4:19 pm To: Cc: Boris Gubenko I don't think John's fix in http://svn.boost.org/trac/boost/changeset/42890 made it to 1.35. You migh want to apply it locally and see if it fixes your problem.
Thanks, Boris
----- Original Message ----- From:
To: Sent: Thursday, February 21, 2008 3:36 PM Subject: [Boost-users] "Re: Boost, HP-UX and gcc" I'm on 11.23 itanium using gcc 4.1.1 and the latest build of 1.35 beta (feb 21)
With my setup, c++config,h indicates that the header wchar.h does exist, however gcc does *not* set _GLIBCPP_USE_WCHAR_T nor_GLIBCXX_USE_WCHAR_T.
My build keeps throwing No WCHAR_MIN and WCHAR_MAX errors, and suggests that I adjust integer_traits<>. I was going to just let it slide but unfortunately I received this error while trying to build using the Unit Test framework. Since unit testing is my friend, I would really like to get this working.
I tried a work-around from the boost mailing list, but the code that I found in my files was not quite like what he modified:
***** Added code at top of bad header file: #ifdef hpux #include
#undef WCHAR_MIN /* (wchar_t)0 */ #define WCHAR_MIN 0 #endif * error simply changed to: /home/mlinck/develop/api/tp-sources-trunk/boost_1_33_1/boost/regex/v4/regex_traits_defaults.hpp:94:28: error: missing binary operator before token "(" * tried a different workaround at the code where the error is thrown. Noticed that broken code gets skipped for HP_aCC compiler. Figure we can maybe get away with same for gcc compiler: => #if !defined HP_aCC && !defined hpux * seems to compile. Had to apply to boost/regex/v4/perl_matcher.hpp as well ******
How would I modify integer_traits<> ? Since that is what is suggested......
Thanks!
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

I don't have any specific suggestion.
Can you try trunk sources? As you can see from trunk test results,
I'm not having problems you are having. HP-UX_ia64_gcc is 11.23
ia64 machine (like yours) with gcc 4.2.1 (you're using 4.1.1, so,
there is a possibility that the compiler makes a difference). I'm
wondering if your problems are because of differences between 1.35
and trunk or they are specific to your environment.
Anyway, if you want to disable building some libraries, you can
use --without option.
Thanks,
Boris
----- Original Message -----
From:
Hi Boris, No help there. I'm still getting the same errors. I'm willing to look at it some more if you have any more suggestions.
How can I turn off the building of the python and serialization libraries? There are other libraries that may be broken with HP, too and I'd like to exclude those from the build.
Stacie
-------- Original Message -------- Subject: Re: [Boost-users] "Re: Boost, HP-UX and gcc" From: "Boris Gubenko"
Date: Thu, February 21, 2008 4:19 pm To: Cc: Boris Gubenko I don't think John's fix in http://svn.boost.org/trac/boost/changeset/42890 made it to 1.35. You migh want to apply it locally and see if it fixes your problem.
Thanks, Boris
----- Original Message ----- From:
To: Sent: Thursday, February 21, 2008 3:36 PM Subject: [Boost-users] "Re: Boost, HP-UX and gcc" I'm on 11.23 itanium using gcc 4.1.1 and the latest build of 1.35 beta (feb 21)
With my setup, c++config,h indicates that the header wchar.h does exist, however gcc does *not* set _GLIBCPP_USE_WCHAR_T nor_GLIBCXX_USE_WCHAR_T.
My build keeps throwing No WCHAR_MIN and WCHAR_MAX errors, and suggests that I adjust integer_traits<>. I was going to just let it slide but unfortunately I received this error while trying to build using the Unit Test framework. Since unit testing is my friend, I would really like to get this working.
I tried a work-around from the boost mailing list, but the code that I found in my files was not quite like what he modified:
***** Added code at top of bad header file: #ifdef hpux #include
#undef WCHAR_MIN /* (wchar_t)0 */ #define WCHAR_MIN 0 #endif * error simply changed to: /home/mlinck/develop/api/tp-sources-trunk/boost_1_33_1/boost/regex/v4/regex_traits_defaults.hpp:94:28: error: missing binary operator before token "(" * tried a different workaround at the code where the error is thrown. Noticed that broken code gets skipped for HP_aCC compiler. Figure we can maybe get away with same for gcc compiler: => #if !defined HP_aCC && !defined hpux * seems to compile. Had to apply to boost/regex/v4/perl_matcher.hpp as well ******
How would I modify integer_traits<> ? Since that is what is suggested......
Thanks!
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Boris Gubenko
-
stacie@dcindigos.com