Boost logo

Boost :

Subject: [boost] [template_profiler]redef template_profiler_test (was Re: OOPS. Space between <include> ...
From: Larry Evans (cppljevans_at_[hidden])
Date: 2009-02-12 08:57:15


On 02/12/09 07:50, Larry Evans wrote:
> On 02/12/09 06:07, Larry Evans wrote:
>> On 02/12/09 05:55, Larry Evans wrote:
[snip]
>>>
>>> -{--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)
>
The .cpp was modified by uncommenting the
   #include <and_seq_instances.hpp>
and that file is attached.




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