Opened 9 years ago

Closed 9 years ago

#8944 closed Bugs (fixed)

#next_include problem on FreeBSD

Reported by: Pedro Giffuni <giffunip@…> Owned by: John Maddock
Milestone: To Be Determined Component: TR1
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:

Description

While compiling Apache OpenOffice with gcc 4.2.1, I found problems with the stubs used to use boost as a replacement for the unsupported PR1 functions in the older libstdc++. This code is rarely exercised but it is very nice to have the support in sync with all platforms.

Just like in linux, FreeBSD needs to disable use of #include_next in files:

boost/tr1/detail/config_all.hpp

boost/tr1/detail/config.hpp

Unlike linux, FreeBSD doesn't use the GNUC_PATCHLEVEL in the headers path, so an adjustment is required on file:

boost/tr1/detail/config_all.hpp

Attachments (1)

tr1-include-next.diff (1.7 KB ) - added by Pedro Giffuni <giffunip@…> 9 years ago.
proof of concept patch

Download all attachments as: .zip

Change History (2)

by Pedro Giffuni <giffunip@…>, 9 years ago

Attachment: tr1-include-next.diff added

proof of concept patch

comment:1 by John Maddock, 9 years ago

Resolution: fixed
Status: newclosed

(In [85190]) Apply patch from #8944. Fixes #8944.

Note: See TracTickets for help on using tickets.