[ts-gen] compile Problems

Bill Pippin pippin at owlriver.net
Thu Jun 7 18:05:28 EDT 2007


Rudi asks about errors related to template specialization during
compilation on SuSE with gcc 4.1.2:

> ...
> g++ -Wall -g -I/usr/include/mysql  -c -o read.o src/read.c
> src/read.c:1042: error: explicit specialization of ‘const 
> TradingShimDaemon1_0::ObjectTypeSystem::Rule& 
> TradingShimDaemon1_0::AppFiniteDomains::BoolT<TradingShimDaemon1_0::AppFinite
> Domains::Bool, 
> 2u>::request(const TradingShimDaemon1_0::AppFiniteDomains::SubType&, 
> const TradingShimDaemon1_0::ObjectTypeSystem::Requests&) const’ must be 
> introduced by ‘template <>’
> ...

Using gcc 4.1.1 for Centos5, I've replicated the problems you noted with
gcc 4.1.2, fixed them, and pushed a new release which I'd like you to
download and try to compile.  Hopefully gcc 4.1.1 is as strong as 4.1.2 at
template analysis for this particular problem, so that the new release
will compile cleanly.

Please let us know how it does.

Although my current devel platform is (still) g++ 3.4.6, we have others
around, in particular a gcc 4.1.1 for Centos5, and I'll probably be
moving to it a day or so.  This should reduce the likelihood of the kind
of compile problem you ran into.

Thanks,

Bill


More information about the ts-general mailing list