Opened 12 years ago

Closed 12 years ago

#5111 closed Bugs (fixed)

BOOST_TR1_STD_HEADER bad on Solaris 11/stdcxx4

Reported by: Pavel Heimlich <tropikhajma@…> 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)

config_all.hpp (6.0 KB ) - added by John Maddock 12 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by Pavel Heimlich <tropikhajma@…>, 12 years ago

(using Sun Studio 12u1)

comment:2 by John Maddock, 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 John Maddock, 12 years ago

Attachment: config_all.hpp added

in reply to:  2 comment:3 by Pavel Heimlich <tropikhajma@…>, 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 anonymous, 12 years ago

Milestone: To Be DeterminedBoost 1.47.0
Resolution: fixed
Status: newclosed

Fixed in [68467].

Note: See TracTickets for help on using tickets.