On Nov 11, 2010, at 3:59 PM, Svenn Are Bjerkem wrote:
> Hi,
> Got past the w reuse problem that Tim mentioned only to stop on files.cpp:
> files.cpp: In function ‘void getfile(QAction*, void*, void*)’:
> files.cpp:725:19: error: cast from ‘void*’ to ‘int’ loses precision
>
> void getfile(QAction* a, void* mode, void* crashfn)
> {
> ...
> int idx = (int)mode; <-- 4.5 doesn't like this
>
> Any idea what to do?
>
> I am using the xcircuit-9.tar.gz announced Oct 26.
> My gcc version is:
> gcc version 4.5.0 20100604 [gcc-4_5-branch revision 160292] (SUSE Linux)
I bet you're on a 64 bit machine. Just let it be (long)mode.
I will get rid of that ugly casting hack eventually.
Cheers, Kuba
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev