[Top][All Lists]
[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.
- [Bug-gnubg] icc/gcc Compiler warnings,
Christian Anthon <=