Boost logo

Boost :

Subject: Re: [boost] OOPS. Space between <include> and test_dir (was Re: Profiling template instantiations
From: Larry Evans (cppljevans_at_[hidden])
Date: 2009-02-12 08:50:57


On 02/12/09 06:07, Larry Evans wrote:
> On 02/12/09 05:55, Larry Evans wrote:
>> On 05/10/08 19:06, Steven Watanabe wrote:
>> [snip]
>>> The code is in the sandbox
>>> http://svn.boost.org/svn/boost/sandbox/tools/profile_templates
>>
>> Hi Steven,
>>
>> Thanks for this tool; however...
>>
>> I wanted to use another test driver instead of test.cpp. I thought
>> just adding another target to the Jamfile.v2 would work:
>>
>> -{--Jamfile.v2--
>>
>> template-profile test : test.cpp : <include>test_dir ;
>>
>> template-profile and_seq_find_if : and_seq_find_if.cpp
>> : <include> test_dir ;
>>
>> -}--Jamfile.v2--
>
> Should have been <include>test_dir instead of having space there.
>
> Sorry for noise.

However, now I'm getting an error in the rtp file:

                  from and_seq_find_if.cpp:2:
/usr/include/c++/4.2/bits/stl_relops.h:74: error: redefinition of
'struct std::template_profiler_test'
/usr/include/c++/4.2/x86_64-linux-gnu/bits/c++config.h:149: error:
previous definition of 'struct std::template_profiler_test'

Should I be concerned? stl_relops.h:74 is just:

_GLIBCXX_BEGIN_NAMESPACE(std)

-regards,
Larry


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk