unresolved error!!!
bs036
bs036 at kellergb5.cs.uni-dortmund.de
Thu Mar 8 12:33:36 EST 2001
Dear Sirs,
i am getting errors while compliling the program mentioned above.
While compiling the graphic examples the error is :
g++ -Wall -O -g -I../.. -c gaview.C
gaview.C:188: initialization to `void *' from `const char *' discards qualifiers
gaview.C:188: initialization to `void *' from `const char *' discards qualifiers
gaview.C:188: initialization to `void *' from `const char *' discards qualifiers
gaview.C:188: initialization to `void *' from `const char *' discards qualifiers
gaview.C:188: initialization to `void *' from `const char *' discards qualifiers
gaview.C:188: initialization to `void *' from `const char *' discards qualifiers
gaview.C: In function `void DrawPopulation(_WidgetRec *, const GAPopulation &,
_XGC *, _XGC *)':
gaview.C:552: warning: assignment to `short int' from `float'
gaview.C:554: warning: assignment to `short int' from `float'
gaview.C:557: warning: assignment to `int' from `float'
gaview.C:559: warning: assignment to `int' from `float'
gaview.C:564: warning: assignment to `short int' from `const float'
gaview.C:566: warning: assignment to `short int' from `const float'
gaview.C:569: warning: assignment to `int' from `const float'
gaview.C:571: warning: assignment to `int' from `const float'
*** Error code 1
make: Fatal error: Command failed for target `gaview.o'
10.24u 0.50s 0:12.15 88.3%
Please help immediatly.
Thanks.
Adam
More information about the galib
mailing list