Not logged inOpenClonk Forum
Up Topic Rampant autobuild warnings

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Zapper

>It's full of funny stuff like that:


It's not only like that, it's exactly that. Around 2350 times.. :)

full example warning:

/home/ck/oc/oc-win32-mingw/openclonk/src/script/C4Value.h: In constructor ‘C4Value::C4Value()’:
/home/ck/oc/oc-win32-mingw/openclonk/src/script/C4Value.h:196: warning: ‘C4Value::Type’ will be initialized after
/home/ck/oc/oc-win32-mingw/openclonk/src/script/C4Value.h:193: warning:   ‘C4Value* C4Value::NextRef’
/home/ck/oc/oc-win32-mingw/openclonk/src/script/C4Value.h:68: warning:   when initialized here

That looks pretty valid to me. What is the problem with the one member being initialized after the other? Since when do you have to initialize members in the order of declaration?

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill