News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

(Critical?) Warnings when compiling current SVN HEAD?

Started by MortenMacFly, December 12, 2005, 07:54:31 PM

Previous topic - Next topic

MortenMacFly

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:

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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]


MortenMacFly

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]