Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#9160 closed Bugs (fixed)

libs/log/src/named_scope_format_parser.cpp fails to build under Solaris Studio 12.3

Reported by: Brian Vandenberg <phantall+boost@…> Owned by: Andrey Semashev
Milestone: To Be Determined Component: log
Version: Boost 1.54.0 Severity: Problem
Keywords: Cc: Brian, Vandenberg, <phantall+boost@…>

Description

"/libs/log/src/named_scope_format_parser.cpp", line 225: Error: Could not find a match for boost::log::v2_mt_posix::expressions::aux::parse_named_scope_format<boost::log::v2_mt_posix::expressions::aux::CharT>(const char*, const char*).
"/libs/log/src/named_scope_format_parser.cpp", line 233: Error: Could not find a match for boost::log::v2_mt_posix::expressions::aux::parse_named_scope_format<boost::log::v2_mt_posix::expressions::aux::CharT>(const wchar_t*, const wchar_t*).

Unfortunately, this may be a known issue in Sun Studio that will be fixed in the next release.

I've been unable to find a writeup for the problem they discuss on that thread, but from the bits and pieces I've found it looks as though the compiler isn't completely following the standard on how to resolve some ambiguous symbol lookups.

It looks like the Oracle team is recommending people move away from using stlport 4 and instead use the Apache "stdcxx" library (see this thread).

Since it's likely this isn't caused by boost itself, I'm more submitting this so this can be documented somewhere.

Change History (4)

comment:1 by viboes, 9 years ago

Component: Nonelog
Owner: set to Andrey Semashev

comment:2 by Andrey Semashev, 9 years ago

Resolution: fixed
Status: newclosed

(In [85982]) Fixed #9160.

comment:3 by Brian Vandenberg <phantall+boost@…>, 9 years ago

I've applied these changes and it appears to have resolved the problem.

comment:4 by Brian Vandenberg <phantall+boost@…>, 9 years ago

Or at least, the build errors are gone.

Note: See TracTickets for help on using tickets.