Not logged inOpenClonk Forum
Up Topic Development / Developer's Corner / rev d6d583c5c753 -> errors and potentially dangerous warning
- - By z33ky [de] Date 2010-11-25 13:59
The - at this moment - latest changeset (d6d583c5c753) compiled with two errors for me, that were easily solvable:
2x missing std::move, one in src/lib/StdCompiler.h:495:37 and another in src/control/C4Control.cpp:842:13.

A few warnings about deprecated function usage appeared, and one warning about a cast to pointer from integer of different size in src/editor/C4PropertyDlg.cpp:178:32. The argument-type (right now int) should probably be intptr_t, though I don't know the context the function IsObjectPointer is used in and it might be just fine; in that case you could use a reinterpret_cast, which will have the effect that the warning will not appear.

I compiled with a 64-bit g++ trunk version (4.6.0 20101120) if that information is of any interest.
Parent - - By AlteredARMOR [ua] Date 2010-11-25 14:51
Please (in future) use bugtracker to report the issue
Reply
Parent - By z33ky [de] Date 2010-11-25 15:05
Noted.
This site told me to post on the forums though. It also told me to make a patch, but the changes required seemed really small to me so I didn't bother with that..
Parent - By Günther [de] Date 2010-11-25 15:06
IsObjectPointer isn't used anywhere, and if it were, it shouldn't have been :-)
Reply
Up Topic Development / Developer's Corner / rev d6d583c5c753 -> errors and potentially dangerous warning

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill