Author Topic: Problem compiling compileoptionsbase.cpp [SOLVED]  (Read 3078 times)

Offline jpaterso

  • Multiple posting newcomer
  • *
  • Posts: 57
Problem compiling compileoptionsbase.cpp [SOLVED]
« on: February 23, 2007, 06:44:53 am »
Hi all,

My last build was rev 3596, and I tried to build from the latest svn sources, but I ran into the following errors when trying to compile compileoptionsbase.cpp:

Code
D:\codeblocks\trunk\src\sdk\compileoptionsbase.cpp:37: error: `spAll' undeclared (first use this function)
D:\codeblocks\trunk\src\sdk\compileoptionsbase.cpp:37: error: (Each undeclared identifier is reported only once for each function it appears in.)
D:\codeblocks\trunk\src\sdk\compileoptionsbase.cpp:50: error: no `void CompileOptionsBase::AddPlatform(int)' member function declared in class `CompileOptionsBase'
D:\codeblocks\trunk\src\sdk\compileoptionsbase.cpp:51: error: no match for 'operator&' in '((CompileOptionsBase*)this)->CompileOptionsBase::m_Platform & platform'
D:\codeblocks\trunk\src\sdk\compileoptionsbase.cpp:53: error: no match for 'operator|=' in '((CompileOptionsBase*)this)->CompileOptionsBase::m_Platform |= platform'
D:\codeblocks\trunk\src\sdk\compileoptionsbase.cpp:58: error: no `void CompileOptionsBase::RemovePlatform(int)' member function declared in class `CompileOptionsBase'
D:\codeblocks\trunk\src\sdk\compileoptionsbase.cpp:59: error: no match for 'operator&' in '((CompileOptionsBase*)this)->CompileOptionsBase::m_Platform & platform'
D:\codeblocks\trunk\src\sdk\compileoptionsbase.cpp:61: error: no match for 'operator&=' in '((CompileOptionsBase*)this)->CompileOptionsBase::m_Platform &= ~platform'
D:\codeblocks\trunk\src\sdk\compileoptionsbase.cpp:66: error: no `void CompileOptionsBase::SetPlatforms(int)' member function declared in class `CompileOptionsBase'
D:\sources\wxWidgets-2.6.3\include\wx\string.h:627: error: `wxString& wxString::operator=(int)' is private
D:\codeblocks\trunk\src\sdk\compileoptionsbase.cpp:69: error: within this context
D:\codeblocks\trunk\src\sdk\compileoptionsbase.cpp:74: error: no `int CompileOptionsBase::GetPlatforms() const' member function declared in class `CompileOptionsBase'
D:\codeblocks\trunk\src\sdk\compileoptionsbase.cpp:75: error: invalid conversion from `const wxChar*' to `int'
D:\codeblocks\trunk\src\sdk\compileoptionsbase.cpp:79: error: no `bool CompileOptionsBase::SupportsCurrentPlatform() const' member function declared in class `CompileOptionsBase'
D:\codeblocks\trunk\src\sdk\compileoptionsbase.cpp:81: error: `spWindows' undeclared (first use this function)
D:\codeblocks\trunk\src\sdk\compileoptionsbase.cpp:259: error: no `bool CompileOptionsBase::GetAlwaysRunPostBuildSteps() const' member function declared in class `CompileOptionsBase'
D:\codeblocks\trunk\src\sdk\compileoptionsbase.cpp:259: error: `bool CompileOptionsBase::GetAlwaysRunPostBuildSteps() const' and `virtual bool CompileOptionsBase::GetAlwaysRunPostBuildSteps() const' cannot be overloaded
:: === Build finished: 17 errors, 0 warnings ===

Any clues as to what I'm doing wrong?

Running on XP.

Thanks,

Joseph.

« Last Edit: February 23, 2007, 01:40:10 pm by killerbot »

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5300
Re: Problem compiling compileoptionsbase.cpp
« Reply #1 on: February 23, 2007, 07:32:22 am »
rebuild all ! (clean up all previous objects and precompiled headers)

Offline jpaterso

  • Multiple posting newcomer
  • *
  • Posts: 57
Re: Problem compiling compileoptionsbase.cpp
« Reply #2 on: February 23, 2007, 08:25:02 am »
Did that, no luck :(

Offline jpaterso

  • Multiple posting newcomer
  • *
  • Posts: 57
Re: Problem compiling compileoptionsbase.cpp
« Reply #3 on: February 23, 2007, 01:01:39 pm »
The problem seems to disappear if I don't define CB_PRECOMP, if that's any help!

Joseph.

Offline jpaterso

  • Multiple posting newcomer
  • *
  • Posts: 57
Re: Problem compiling compileoptionsbase.cpp
« Reply #4 on: February 23, 2007, 01:04:55 pm »
Don't worry, I hadn't cleaned up the pre-compiled headers properly, it all works fine now!