Windows 7 64bit using tdm-mingw 4.7.2 When compiling the the contrib pluggins workspace I get the following errors:
mingw32-g++.exe -Wall -O2 -pipe -fmessage-length=0 -fexceptions -mthreads -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DwxUSE_UNICODE -DCC_PARSER_TEST -IC:\Programming\wxWidgets\WX_2_8_BRANCH\include -IC:\Programming\wxWidgets\WX_2_8_BRANCH\lib\gcc_dll\mswu -I..\..\include -I..\..\sdk\wxscintilla\include -Icctest -Iparser -I. -c C:\Programming\codeblocks\src\plugins\codecompletion\parser\cclogger.cpp -o ..\..\.objs\plugins\codecompletion\cctest\parser\cclogger.o
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp: In member function 'void CCDebugInfo::OnGoDeclClick(wxCommandEvent&)':
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:792:5: error: 'cbEditor' was not declared in this scope
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:792:15: error: 'ed' was not declared in this scope
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:792:30: error: expected primary-expression before ')' token
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:792:31: error: expected ';' before 'Manager'
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:794:48: error: invalid use of incomplete type 'class EditorManager'
In file included from ..\..\include/logmanager.h:9:0,
from C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:25:
..\..\include/manager.h:28:7: error: forward declaration of 'class EditorManager'
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp: In member function 'void CCDebugInfo::OnGoImplClick(wxCommandEvent&)':
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:816:5: error: 'cbEditor' was not declared in this scope
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:816:15: error: 'ed' was not declared in this scope
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:816:30: error: expected primary-expression before ')' token
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:816:31: error: expected ';' before 'Manager'
C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:818:48: error: invalid use of incomplete type 'class EditorManager'
In file included from ..\..\include/logmanager.h:9:0,
from C:\Programming\codeblocks\src\plugins\codecompletion\parser\ccdebuginfo.cpp:25:
..\..\include/manager.h:28:7: error: forward declaration of 'class EditorManager'
Process terminated with status 1 (0 minute(s), 11 second(s))
Looks like that recent code completion update might be missing some stuff...
Oh also, is there a way to change the font color within code block tags on this forum? Might make reading logs easier if we could submit them all nice and color coded so the errors stand out like in CB's output log.
I will look into this issue today.
Quote from: ollydbg on February 27, 2015, 01:29:03 AM
I will look into this issue today.
Possible patch; it fixed the compile issue for me on the cctest plugin
Index: src/plugins/codecompletion/parser/ccdebuginfo.cpp
===================================================================
--- src/plugins/codecompletion/parser/ccdebuginfo.cpp (revision 10127)
+++ src/plugins/codecompletion/parser/ccdebuginfo.cpp (working copy)
@@ -22,6 +22,8 @@
#include <wx/string.h>
//*)
+ #include <cbeditor.h>
+ #include <editormanager.h>
#include <logmanager.h>
#endif
Tim S.
Thanks Tim, fixed in the trunk now.
Thanks ouch for the report.
Quote from: ouch on February 27, 2015, 12:42:08 AM
Oh also, is there a way to change the font color within code block tags on this forum? Might make reading logs easier if we could submit them all nice and color coded so the errors stand out like in CB's output log.
Not sure what exact color style you want. You mean error messages on red color, warning messages on blue color?
Maybe, you can try this: FireFox Stylish add on. I just use to change the font size, see:custom CSS to change the font size in code and quote tags for our forum (http://forums.next.codeblocks.org/index.php/topic,19980.msg136381.html#msg136381)
Yep, that fixed it. But now I'm getting an error with the fortran plugin:
mingw32-g++.exe -Wall -O2 -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DBUILDING_PLUGIN -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -I..\..\..\include -I..\..\..\sdk\wxscintilla\include -IC:\Programming\wxWidgets\WX_2_8_BRANCH\include -IC:\Programming\wxWidgets\WX_2_8_BRANCH\lib\gcc_dll\mswu -c C:\Programming\codeblocks\src\plugins\contrib\FortranProject\fpoptionsdlg.cpp -o ..\..\..\.objs\plugins\contrib\FortranProject\fpoptionsdlg.o
C:\Programming\codeblocks\src\plugins\contrib\FortranProject\fortranproject.cpp:34:9: error: #include expects "FILENAME" or <FILENAME>
and a little later:
mingw32-g++.exe -Wall -O2 -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DBUILDING_PLUGIN -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -I..\..\..\include -I..\..\..\sdk\wxscintilla\include -IC:\Programming\wxWidgets\WX_2_8_BRANCH\include -IC:\Programming\wxWidgets\WX_2_8_BRANCH\lib\gcc_dll\mswu -c C:\Programming\codeblocks\src\plugins\contrib\FortranProject\makefilegen.cpp -o ..\..\..\.objs\plugins\contrib\FortranProject\makefilegen.o
C:\Programming\codeblocks\src\plugins\contrib\FortranProject\fortranproject.cpp:35:2: error: expected unqualified-id before '<' token
Quote from: ouch on February 27, 2015, 11:19:02 PM
Yep, that fixed it. But now I'm getting an error with the fortran plugin:
...
You may report this failure in Code::Blocks IDE for Fortran google group (https://groups.google.com/forum/?fromgroups#!forum/cbfortran)
Ok, just did.