Hi,
There's problem when compiling on linux after last "War against macros" (rev 4018).
Before the change, compilers were selected for specific platform using #ifdef stuff, now it's using standard c++ if.
Now there are two problems: list of #includes is still masked using #ifdef, so when compmiling on linux it will need compiler interfaces like compilerMSVC. It's never used since if (platform::windows) filters it, but compiler have to know this class just to compile. Even after removing conditional includes the problem still remains because specific compilers are again internally filtered against unknown platforms inside their .h files just like this:
#ifdef __WXMSW__
// this compiler is valid only in windows
#ifndef COMPILERMSVC_H
#define COMPILERMSVC_H
#include <compiler.h>
class CompilerMSVC : public Compiler
{
....
Regards
BYO
(..) #includes inside compilergcc.cpp - all compilers should be included no matter what platform (..)
(..) BTW: I tried to fix the compilation in SVN by now...
In regards to this:
I've just tried to compile svn r4018 sources on Windows XP SP2 (using workspace in C::B svn r3989, GCC 3.4.5 and wxMSW-2.8.4) and got this error:
D:\svn-repos\codeblocks\src\plugins\compilergcc\compilergcc.cpp: In member function `virtual void CompilerGCC::OnAttach()':
D:\svn-repos\codeblocks\src\plugins\compilergcc\compilergcc.cpp:328: error: `CompilerLCC' has not been declared
Process terminated with status 1 (7 minutes, 58 seconds)
1 errors, 33 warnings
A typo, maybe?
Regards.
Edit: Just updated to svn r4019 and got the same error when compiling Compiler target.