Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: MortenMacFly on December 12, 2005, 07:54:31 pm

Title: (Critical?) Warnings when compiling current SVN HEAD?
Post by: MortenMacFly on December 12, 2005, 07:54:31 pm
Dear all,

I've just compiled a current snapshot of C::B. I saw many warnings in the log message that I'm not sure whether they should be taken care of:
Code
sdk\as\bindings\scriptbindings.cpp:273: warning: invalid access to non-static data member `ProjectFile::relativeFilename' of NULL object
sdk\as\bindings\scriptbindings.cpp:273: warning: (perhaps the `offsetof' macro was used incorrectly)
sdk\as\bindings\scriptbindings.cpp:274: warning: invalid access to non-static data member `ProjectFile::relativeToCommonTopLevelPath' of NULL object
sdk\as\bindings\scriptbindings.cpp:274: warning: (perhaps the `offsetof' macro was used incorrectly)
sdk\as\bindings\scriptbindings.cpp:275: warning: invalid access to non-static data member `ProjectFile::compile' of NULL object
sdk\as\bindings\scriptbindings.cpp:275: warning: (perhaps the `offsetof' macro was used incorrectly)
sdk\as\bindings\scriptbindings.cpp:276: warning: invalid access to non-static data member `ProjectFile::link' of NULL object
sdk\as\bindings\scriptbindings.cpp:276: warning: (perhaps the `offsetof' macro was used incorrectly)
sdk\as\bindings\scriptbindings.cpp:277: warning: invalid access to non-static data member `ProjectFile::weight' of NULL object
sdk\as\bindings\scriptbindings.cpp:277: warning: (perhaps the `offsetof' macro was used incorrectly)
sdk\as\bindings\scriptbindings.cpp:278: warning: invalid access to non-static data member `ProjectFile::buildCommand' of NULL object
sdk\as\bindings\scriptbindings.cpp:278: warning: (perhaps the `offsetof' macro was used incorrectly)
sdk\as\bindings\scriptbindings.cpp:279: warning: invalid access to non-static data member `ProjectFile::useCustomBuildCommand' of NULL object
sdk\as\bindings\scriptbindings.cpp:279: warning: (perhaps the `offsetof' macro was used incorrectly)
sdk\as\bindings\scriptbindings.cpp:280: warning: invalid access to non-static data member `ProjectFile::autoDeps' of NULL object
sdk\as\bindings\scriptbindings.cpp:280: warning: (perhaps the `offsetof' macro was used incorrectly)
sdk\as\bindings\scriptbindings.cpp:281: warning: invalid access to non-static data member `ProjectFile::customDeps' of NULL object
sdk\as\bindings\scriptbindings.cpp:281: warning: (perhaps the `offsetof' macro was used incorrectly)
sdk\as\bindings\scriptbindings.cpp:282: warning: invalid access to non-static data member `ProjectFile::compilerVar' of NULL object
sdk\as\bindings\scriptbindings.cpp:282: warning: (perhaps the `offsetof' macro was used incorrectly)

Please excuse if this is OK but (for me) it sounds like a possible error...?!

Morten.
Title: Re: (Critical?) Warnings when compiling current SVN HEAD?
Post by: takeshimiya on December 12, 2005, 07:56:38 pm
http://forums.codeblocks.org/index.php?topic=1420.0
Title: Re: (Critical?) Warnings when compiling current SVN HEAD?
Post by: MortenMacFly on December 12, 2005, 08:03:48 pm
http://forums.codeblocks.org/index.php?topic=1420.0
Thanks. I should have searched through the forum instead of google. :oops:

Morten.