Re: Bad typecast when using --with-debug
Irene Vatton <[email protected]> Fri, 1 Feb 2008 08:53:17 +0100
| Newsgroups | gmane.comp.web.amaya.devel |
|---|---|
| Organization | INRIA |
| Message-ID | <[email protected]> |
On Thursday 24 January 2008 10:57, Urs Holzer wrote: > Hello > > There is a problem with a typecast when compiling on a 64bit > architecture (Linux). However, this problem turns up only when the > debugging options are on (i.e. when configure is called > with --with-debug which causes AMAYA_DEBUG to be on). > > Here the error messages: > > .../../amaya/MENUconf.c: In function ‘void TemplatesCallbackDialog(int, > int, char*)’: > .../../amaya/MENUconf.c:2581: error: cast from ‘char*’ to ‘int’ loses > precision > .../../amaya/MENUconf.c: In function ‘void PasswordsCallbackDialog(int, > int, char*)’: > .../../amaya/MENUconf.c:2670: error: cast from ‘char*’ to ‘int’ loses > precision > > I used revision 1.271 of the file MENUconf.c (the newest one at time of > writing this). That problem is fixed -- Irène Vatton @ INRIA Rhône-Alpes