Boost logo

Boost :

Subject: Re: [boost] [template_profiler]redef template_profiler_test
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-02-12 12:01:00


AMDG

Larry Evans wrote:
>> 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.

It sounds like the perl script is mishandling namespaces.
Can you post that line from the preprocessed source?
(Should be and_seq_find_if.cpp in the build directory)

In Christ,
Steven Watanabe


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