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?
Alternatively, try
int idx = reinterpret_cast<int>(mode);
Do note that my Qt code is nowhere near usable. I'll move the repository
to google code tonight so that it'll be easier to keep up with my latest
breakage ;)
Cheers, Kuba
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev