the problem seems releated to new feature of "Added : /nologo to resource compiler of MSVC-8 "
I was using VC2008 express in windows xp sp2
now, i have to restore to last nightly build (4966) :?
the build log is :
-------------- Build: Debug in Passthru ---------------
[ 14.3%] cl.exe /nologo /Gz /Od /W3 /c /Zp8 /DWINVER=0X500 /DUNICODE /D_UNICODE /D_X86_ /DSTD_CALL /DWIN32_LEAN_AND_MEAN /DNT_UP /DNDIS_MINIPORT_DRIVER /DNDIS50_MINIPORT /DNDIS50 /DNDIS_WDM=1 /MTd /Zi /D_DEBUG /Zi /DDBG /DDEBUG /D_DEBUG /GS /WX /D_MSC_VER=1500 /ID:\sb\winddk\include /Id:\sb\vc2008\VC\include /ID:\sb\winddk\inc\wxp /ID:\sb\winddk\inc\ddk\wxp /ID:\sb\winddk\inc\ddk\wdm\wxp /ID:\sb\sdks\libnet\include /ID:\sources\vc7\RaBird\src\C++\rabird -ID:\sources\codeblocks\rabird_branch\starofrainnight\Passthru /c miniport.c /FoDebug\miniport.obj
miniport.c
[ 28.6%] cl.exe /nologo /Gz /Od /W3 /c /Zp8 /DWINVER=0X500 /DUNICODE /D_UNICODE /D_X86_ /DSTD_CALL /DWIN32_LEAN_AND_MEAN /DNT_UP /DNDIS_MINIPORT_DRIVER /DNDIS50_MINIPORT /DNDIS50 /DNDIS_WDM=1 /MTd /Zi /D_DEBUG /Zi /DDBG /DDEBUG /D_DEBUG /GS /WX /D_MSC_VER=1500 /ID:\sb\winddk\include /Id:\sb\vc2008\VC\include /ID:\sb\winddk\inc\wxp /ID:\sb\winddk\inc\ddk\wxp /ID:\sb\winddk\inc\ddk\wdm\wxp /ID:\sb\sdks\libnet\include /ID:\sources\vc7\RaBird\src\C++\rabird -ID:\sources\codeblocks\rabird_branch\starofrainnight\Passthru /c passthru.c /FoDebug\passthru.obj
passthru.c
[ 42.9%] rc.exe /nologo /ID:\sb\vc2008\VC\include /ID:\sb\winddk\inc\wxp /ID:\sb\winddk\inc\ddk\wxp /ID:\sb\winddk\inc\ddk\wdm\wxp -ID:\sources\codeblocks\rabird_branch\starofrainnight\Passthru -foDebug\passthru.res passthru.rc
fatal error RC1106: invalid option: -ologo
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
make[5]: *** No rule to make target `all'. Stop.
make[5]: Leaving directory `/home/psyhlo/devel/cb-src/src/plugins/scriptedwizard/resources/matlab_csf'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/psyhlo/devel/cb-src/src/plugins/scriptedwizard/resources'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/psyhlo/devel/cb-src/src/plugins/scriptedwizard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/psyhlo/devel/cb-src/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/psyhlo/devel/cb-src/src'
make: *** [all-recursive] Error 1
svn 4982
- Fixed: Now C::B would not prompt to select missing compiler for Targets not supported by current platform
Hi, I installed 4977 (thanks!) on Kubuntu 7.10 with wxWidgets 2.8.7. I still get the same dialogs about missing compiler for build targets not used under Linux
The defined compiler for W32_Debug cannot be located (ID:msvc8)
This happens on linux even though the build target is defined to be for the Windows platform only.
Patch is needed to compile under Windows when NOT using PCH (Pre-Compiled Headers)
Note: The include <wx/gauge.h> must be before the include of headersdetectordlg.h on Windows OS.
This is because of wxWidgets design issue no fault of Code::Blocks. You could add the include to headersdetectordlg.h.
My Patch moves the include headersdetectordlg.h to be the last include in file headersdetectordlg.cpp.
Tim S
Index: src/plugins/contrib/lib_finder/headersdetectordlg.cpp
===================================================================
--- src/plugins/contrib/lib_finder/headersdetectordlg.cpp (revision 4986)
+++ src/plugins/contrib/lib_finder/headersdetectordlg.cpp (working copy)
@@ -1,4 +1,3 @@
-#include "headersdetectordlg.h"
//(*InternalHeaders(HeadersDetectorDlg)
#include <wx/sizer.h>
@@ -11,6 +10,8 @@
#include <encodingdetector.h>
+#include "headersdetectordlg.h"
+
//(*IdInit(HeadersDetectorDlg)
const long HeadersDetectorDlg::ID_STATICTEXT1 = wxNewId();
const long HeadersDetectorDlg::ID_STATICTEXT3 = wxNewId();
svn build rev 4999 (2008-04-06T11:09:14.941468Z) gcc 3.4.5 Windows/unicode
Directory structure
cbSnipSearch
App
Plugin
Editor
I cut two file from App, pasted them to Plugin with Explorer.
CB says "file deleted, keep them open or close?"
I responded "with the close option"
CB crashed
Though I couldn't reproduce the crash in my PC, but I think the following patch can fix this crash. :)
Index: src/sdk/editormanager.cpp
===================================================================
--- src/sdk/editormanager.cpp (revision 5006)
+++ src/sdk/editormanager.cpp (working copy)
@@ -863,10 +863,10 @@
ed->SetModified(true);
else
{
- ed->Close();
ProjectFile* pf = ed->GetProjectFile();
if (pf)
pf->SetFileState(fvsMissing);
+ ed->Close();
}
continue;
}