Compilation problem for examples with GAAllele.h i.e. ex12,ex21,ex23,ex24

Kian H Low uceckil at ucl.ac.uk
Wed Apr 4 12:20:38 EDT 2001


Hi,

I am hoping to use galib245 for a chemical engineering study but having
problems with compiling examples which include GAAllele.h i.e.
ex12,ex21,ex23,ex24. I would appreciate greatly any clue. Thanks.

g++ v2.7.2.1 in IBM AIX4.1

------------------------------------------------------------------------------------

make ex21
        g++ -g -Wall -O -O0 -I.. -c ex21.C
In file included from ex21.C:17:
../ga/GAAllele.h:147: declaration of `operator ==' as non-function
../ga/GAAllele.h:147: parse error before `<'
../ga/GAAllele.h:148: declaration of `operator !=' as non-function
../ga/GAAllele.h:148: parse error before `<'
ex21.C: In function `int main(int, char **)':
ex21.C:72: warning: comparison between signed and unsigned
make: 1254-004 The error code from the last command is 1.

--
Kian H Low
Chemical Engineering, UCL, Torrington Place, London WC1E 7JE U.K.
020 76793836 / 020 85208975(H)  http://www.chemeng.ucl.ac.uk/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/galib/attachments/20010404/42fc0a31/attachment.htm


More information about the galib mailing list