bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] icc/gcc Compiler warnings


From: Christian Anthon
Subject: [Bug-gnubg] icc/gcc Compiler warnings
Date: Wed, 28 Mar 2007 09:31:46 +0200

Hi all,

after some multidimensional arrays are declared const in function
arguments I get compiler warnings on gcc/icc. I guess it boils down
to:

http://c-faq.com/ansi/constmismatch.html

and then there is this icc warning as well:

gtkwindows.c(122): warning #556: a value of type "void *" cannot be
assigned to an entity of type "void (*)(GtkWidget *, void *)"
       cbData->DialogFun = (void*)okFun;

the cast seems to work, but it is ugly.

Christian.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]