Opened 12 years ago
Closed 12 years ago
#5111 closed Bugs (fixed)
BOOST_TR1_STD_HEADER bad on Solaris 11/stdcxx4
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | Boost 1.47.0 | Component: | TR1 |
Version: | Boost 1.45.0 | Severity: | Problem |
Keywords: | Cc: |
Description
building qtcreator 2.0.1 on Solaris 11e using the OS provided stdcxx4 and boost 1.45 fails with ... "/opt/kde4/include/boost-1_45/boost/tr1/detail/config_all.hpp", line 151: Error: Could not open include file<../include/utility>. "/opt/kde4/include/boost-1_45/boost/tr1/tr1/memory", line 17: Error: Could not open include file<../include/memory>.
this is likely because stdcxx4 resides in /usr/include/stdcxx4/ /usr/include/stdcxx4/ansi there, which the config_all.hpp does not take into account and sets BOOST_TR1_STD_HEADER inappropriately
Attachments (1)
Change History (5)
comment:1 by , 12 years ago
follow-up: 3 comment:2 by , 12 years ago
Can you please try the attached and let me know how you get on? I'm not sure about this section of the header:
# if defined(_RWSTD_VER) && _RWSTD_VER >= 0x04010200 # if !defined (__SUNPRO_CC) && !defined (__DECCXX) # define BOOST_TR1_STD_CHEADER(name) <../include/ansi/name> # endif # endif
But I'm sure the sun exclusion is there for a reason! :-0
John.
by , 12 years ago
Attachment: | config_all.hpp added |
---|
comment:3 by , 12 years ago
Replying to johnmaddock:
Can you please try the attached and let me know how you get on?
thanks, it worked!
comment:4 by , 12 years ago
Milestone: | To Be Determined → Boost 1.47.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed in [68467].
(using Sun Studio 12u1)