Build error with gcc 4.4 (Ubuntu 10.04LTS)

Bug #910600 reported by ariel
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Geneva Optimization
Fix Released
High
Ruediger Berlich

Bug Description

Geneva 0.9.9 fails to build with the default GCC compiler (gcc 4.4.3) in Ubuntu 10.04 LTS.
This happens both with Boost 1.41 and 1.48 (both from boost.org).

The error is:

[ 41%] Building CXX object src/geneva/CMakeFiles/gemfony-geneva.dir/GBrokerGD.cpp.o
/home/ubuntu/soft/src/geneva-trunk/src/geneva/GBrokerGD.cpp: In member function ‘virtual boost::optional<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > Gem::Geneva::GBrokerGD::checkRelationshipWith(const Gem::Geneva::GObject&, const Gem::Common::expectation&, const double&, const std::string&, const std::string&, const bool&) const’:
/home/ubuntu/soft/src/geneva-trunk/src/geneva/GBrokerGD.cpp:155: error: ‘GBrokerConnectorT’ was not declared in this scope
/home/ubuntu/soft/src/geneva-trunk/src/geneva/GBrokerGD.cpp:155: error: expected primary-expression before ‘>’ token
/home/ubuntu/soft/src/geneva-trunk/src/geneva/GBrokerGD.cpp:155: error: ‘::checkRelationshipWith’ has not been declared
[ 42%] Building CXX object src/geneva/CMakeFiles/gemfony-geneva.dir/GBrokerSwarm.cpp.o
make[2]: *** [src/geneva/CMakeFiles/gemfony-geneva.dir/GBrokerGD.cpp.o] Error 1

Revision history for this message
ariel (garcia) wrote :

Compiler doesn't like the templated syntax:

deviations.push_back(GBrokerConnectorT<GIndividual>::checkRelationshipWith(*p_load, e, limit, "GBrokerGD", y_name, withMessages));

as far as I can see.

Changed in geneva:
assignee: nobody → Ruediger Berlich (rberlich)
Changed in geneva:
status: New → Fix Released
ariel (garcia)
Changed in geneva:
status: Fix Released → Fix Committed
ariel (garcia)
Changed in geneva:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.