[Coin-discuss] OsiColCut.hpp and gcc-2.95.4

Tuomo Takkula tuomo.takkula at inform-ac.com
Fri Apr 30 11:58:33 EDT 2004


	Hi.

While trying to compile the current Osi sources from CVS with gcc-
2.95.4 I ran into the stuff shown below. OTOH, with gcc-3.3 it 
compiled just fine. For reasons beyond my control I am sort of stuck 
with gcc-2.95.4 - so, does anyone have an idea how I could fix that? 


	Cheers
	Tuomo


(cd /nethome/ttakkula/software/COIN/Coin && make)
make[1]: Entering directory `/nethome/ttakkula/software/COIN/Coin'
make -f /nethome/ttakkula/software/COIN/Makefiles/Makefile.lib 
install
make[2]: Entering directory `/nethome/ttakkula/software/COIN/Coin'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/nethome/ttakkula/software/COIN/Coin'
make[1]: Leaving directory `/nethome/ttakkula/software/COIN/Coin'
make -f Makefile.Osi library
make[1]: Entering directory `/nethome/ttakkula/software/COIN/Osi'
(cd ../Coin && make install)
make[2]: Entering directory `/nethome/ttakkula/software/COIN/Coin'
make -f /nethome/ttakkula/software/COIN/Makefiles/Makefile.lib 
install
make[3]: Entering directory `/nethome/ttakkula/software/COIN/Coin'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/nethome/ttakkula/software/COIN/Coin'
make[2]: Leaving directory `/nethome/ttakkula/software/COIN/Coin'
make -f /nethome/ttakkula/software/COIN/Makefiles/Makefile.lib 
library
make[2]: Entering directory `/nethome/ttakkula/software/COIN/Osi'

Compiling OsiColCut.cpp
In file included from OsiColCut.cpp:8:
include/OsiColCut.hpp:148: cannot adjust access to `bool 
OsiCut::operator ==(const OsiCut &) const' in `class OsiColCut'
include/OsiColCut.hpp:66:   because of local method `bool 
OsiColCut::operator ==(const OsiColCut &) const' with same name
include/OsiColCut.hpp:148: cannot adjust access to `bool 
OsiCut::operator !=(const OsiCut &) const' in `class OsiColCut'
include/OsiColCut.hpp:70:   because of local method `bool 
OsiColCut::operator !=(const OsiColCut &) const' with same name
make[2]: *** [Linux-g/OsiColCut.o] Error 1
make[2]: Leaving directory `/nethome/ttakkula/software/COIN/Osi'
make[1]: *** [library] Error 2
make[1]: Leaving directory `/nethome/ttakkula/software/COIN/Osi'
make: *** [libOsi] Error 2
-- 
Tuomo Takkula, PhD
Inform GmbH      Pascalstr. 23      D-52076 Aachen
phone +49-2408-9456-368      fax +49-2408-9456-45
tuomo.takkula at inform-ac.com  www.inform-ac.com




More information about the Coin-discuss mailing list