User forums > General (but related to Code::Blocks)

CodeBlocks build fails (Gentoo, SVN)

<< < (2/2)

meil:
Hi
I have the same issue in all versions after 6951.

--- Code: ---projectfileoptionsdlg.cpp: In member function ‘void ProjectFileOptionsDlg::OnReadOnlyCheck(wxCommandEvent&)’:
projectfileoptionsdlg.cpp:246: ошибка: invalid use of incomplete type ‘struct EditorManager’
../../src/include/manager.h:27: ошибка: forward declaration of ‘struct EditorManager’
make[3]: *** [projectfileoptionsdlg.lo] Ошибка 1

--- End code ---

stahta01:
@meil

--- Quote from: stahta01 on February 25, 2011, 07:07:10 pm ---Patch needed for NON-PCH Type Build under Windows (CB_PRECOMP and WX_PRECOMP not defined and NOPCH is defined)

Tim S.


--- Code: ---Index: src/sdk/projectfileoptionsdlg.cpp
===================================================================
--- src/sdk/projectfileoptionsdlg.cpp (revision 7028)
+++ src/sdk/projectfileoptionsdlg.cpp (working copy)
@@ -12,6 +12,7 @@
 #ifndef CB_PRECOMP
     #include "cbproject.h"
     #include "compilerfactory.h"
+    #include "editormanager.h"
     #include "logmanager.h"
     #include "projectmanager.h"
     #include <wx/xrc/xmlres.h>

--- End code ---

--- End quote ---

Navigation

[0] Message Index

[*] Previous page

Go to full version