Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Revision 1865
yop:
Suse Linux 9.3
wxWidgets 2.6.2 unicode
gcc 3.3.5
revision 1865
./bootstrap
./configure --prefix=/opt/codeblocks --enable-contrib
make
--- Quote ---make[4]: Entering directory `/users/yop/Workbench/codeblocks/trunk/src/sdk'
...
In file included from uservarmanager.cpp:15:
uservarmanager.h:6: error: syntax error before `<' token
uservarmanager.h:9: error: `MacrosManager' was not declared in this scope
uservarmanager.h:9: error: `Mgr' is not a template
uservarmanager.h:9: error: declaration does not declare anything
uservarmanager.h:10: error: `friend' can only be specified inside a class
uservarmanager.h:13: error: syntax error before `public'
uservarmanager.h:16: error: syntax error before `}' token
uservarmanager.cpp:46: error: invalid use of undefined type `class
UserVariableManager'
uservarmanager.h:6: error: forward declaration of `class UserVariableManager'
uservarmanager.cpp:53: error: invalid use of undefined type `class
UserVariableManager'
uservarmanager.h:6: error: forward declaration of `class UserVariableManager'
--- End quote ---
thomas:
It's mostly harmless here 8), although obviously two include files are missing, hence your error...
Probably I did not see it because precompiled headers are hiding it from me.
Please update and try again. :)
takeshimiya:
Hmmm I wonder if GCC haves a flag to use precompiled headers, yet ironing out some warnings about what things may fail when not using them.
yop:
--- Quote from: thomas on January 26, 2006, 11:09:52 am ---Please update and try again. :)
--- End quote ---
rev 1870, I got some errors with a just make. I 'm performing a make clean && make and I'll give feedback...
yop:
I managed to build rev 1870 after the following:
--- Code: (diff) ---Index: src/sdk/configmanager-revision.cpp
===================================================================
--- src/sdk/configmanager-revision.cpp (revision 1870)
+++ src/sdk/configmanager-revision.cpp (working copy)
@@ -4,6 +4,8 @@
*/
#include "sdk_precomp.h" // contains "configmanager.h" and <wx/string.h>
+#include "configmanager.h"
+#include <wx/string.h>
#include "autorevision.h"
wxString ConfigManager::GetRevisionString()
Index: src/sdk/configmanager.cpp
===================================================================
--- src/sdk/configmanager.cpp (revision 1870)
+++ src/sdk/configmanager.cpp (working copy)
@@ -13,10 +13,10 @@
#include "sdk_precomp.h"
// sdk_precomp.h already includes these:
-// #include "configmanager.h"
-// #include "globals.h"
-// #include "personalitymanager.h"
-// #include "cbexception.h"
+#include "configmanager.h"
+#include "globals.h"
+#include "personalitymanager.h"
+#include "cbexception.h"
#include "crc32.h"
#include <wx/file.h>
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version