Author Topic: (Critical?) Warnings when compiling current SVN HEAD?  (Read 5219 times)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
(Critical?) Warnings when compiling current SVN HEAD?
« 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

takeshimiya

  • Guest

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: (Critical?) Warnings when compiling current SVN HEAD?
« Reply #2 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ