|
Boost Users : |
From: markrday
Date: 2003-02-27 13:19:49
--- In Boost-Users_at_[hidden], "Gennadiy E. Rozental
<rogeeff_at_m...>" <rogeeff_at_m...> wrote:
> > Can anyone offer me hints on how to get started in resolving
these?
>
> Use latest cvs. It should be fixed already by Dave.
>
> > I'm willing to build a toolset file for this compiler, but I don't
>
> There is one in tools section. I was using it to compile a lot of
> libraries with Sunpro 6
>
Thanks, I'm just returning from a week away, so I apologize for not
maintaining the continuity of the thread. I was able to use cvs to
grab the latest version and (semi)successfully used bjam to build the
libraries. Initially, I'm most interested in the date_time functions,
but eventually I'm sure we'll want to use additional modules.
Building with both Workshop 6 update 2, and Workshop 7 give some
errors in the global bjam build (I'll included these later). The
date_time library appears to compile, but when I then try to compile
one of the example programs I get the following errors:
nautilus.35> CC -c -DBOOST_REGEX_NO_LIB=1
-DBOOST_REGEX_STATIC_LINK=1 -g -xtarget=generic +d -features=rtti
-features=except -I"/opt/src/freeware/boost" days_alive.cpp
"/opt/src/freeware/boost/boost/type_traits/is_convertible.hpp", line
191: Warning (Anachronism): Type names qualified by template
parameters require "typename".
"/opt/src/freeware/boost/boost/type_traits/is_convertible.hpp", line
191: Warning (Anachronism): Type names qualified by template
parameters require "typename".
"/opt/src/freeware/boost/boost/type_traits/is_convertible.hpp", line
191: Warning (Anachronism): Type names qualified by template
parameters require "typename".
"/opt/src/freeware/boost/boost/type_traits/is_convertible.hpp", line
191: Warning (Anachronism): Type names qualified by template
parameters require "typename".
>> Assertion: (../lnk/tmplmatchargs.cc, line 153)
while processing
/opt/src/freeware/boost/boost/type_traits/is_base_and_derived.hpp at
line 87
I've tried the -features= flag with the normal and no% forms of
anachronisms, extensions, and transitions, and none of these make a
difference in getting this sample program to compile.
The global build produces a lot of output; I've recognized two
distinct error patterns. One is very similar to the above
(Anachronism) warning, but for other source code files, and the other
pattern includes messages like:
CC -c -DBOOST_REGEX_NO_LIB=1 -DBOOST_REGEX_STATIC_LINK=1 -g
-xtarget=generic +d -features=rtti -features=except
-I"libs/regex/build" -I"/opt/src/freeware/boost" -o
"libs/regex/build/bin/libboost_regex.a/sunpro/debu
g/runtime-link-dynamic/winstances.o"
"libs/regex/build/../src/winstances.cpp"
...failed sunpro-C++-action
libs/regex/build/bin/libboost_regex.a/sunpro/debug
/runtime-link-dynamic/winstances.o...
...skipped
<libs!regex!build/libboost_regex.a/sunpro/debug/ru
ntime-link-dynamic>libboost_regex_debug.a
for lack of
<libs!regex!build/libboost_regex.a/sunpro/debug/ru
ntime-link-dynamic>libboost_regex_debug.a(winstances.o)...
...skipped <!libs!regex!build!bin-stage>libboost_regex_debug.a for
lack of
<libs!regex!build/libboost_regex.a/sunpro/debug/ru
ntime-link-dynamic>libboost_regex_debug.a...
FileClone libs/regex/build/bin-stage/libboost_regex.a
sunpro-C++-action
libs/regex/build/bin/libboost_regex.so/sunpro/debu
g/runtime-link-dynamic/winstances.o
"/opt/src/freeware/boost/boost/detail/allocator.hpp", line 107: Error:
boost::detail::allocator<char>::allocator<wchar_t>(const
boost::detail::allocator<wchar_t>&) and
boost::detail::allocator<char>::allocator<wchar_t>(const
boost::detail::allocator<wchar_t>&) have same extern name
"__1cFboostGdetailJallocator4Cc_2t4Cw_6Mrkn0BJallocator4CTB___v_".
"/opt/src/freeware/boost/boost/regex/v3/instances.hpp", line 143:
Where: While instantiating "boost::re_detail::match_results_base<const
wchar_t*, boost::detail::allocator<wchar_t>>::match_results_base(const
boost::detail::allocator<wchar_t>&)".
"/opt/src/freeware/boost/boost/regex/v3/instances.hpp", line 143:
Where: Instantiated from non-template code.
So...
If anyone has any suggestions on what I need to tell the Workshop
compiler to accept this code, or how I should modify the code to get
at least the date_time package to compile, please let me know.
Thank you
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net