News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

The 11 November 2009 build (5911) is out.

Started by killerbot, November 12, 2009, 12:12:35 AM

Previous topic - Next topic

stahta01

Quote from: godlike on November 22, 2009, 09:01:32 PM
I put a custom ICPC flag but it never saves it. When I click ok and then go again its lost.

What exactly do you put in?

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

godlike

Quote from: stahta01 on November 23, 2009, 12:38:42 AM
Quote from: godlike on November 22, 2009, 09:01:32 PM
I put a custom ICPC flag but it never saves it. When I click ok and then go again its lost.

What exactly do you put in?

Tim S.

It doesnt work whatever flag I put in. But since you ask I put -O3 just to test it

Dr.Optix

Nice improvement in Code Completion, it works like a charm with Qt. Hope it will parse ok BASS headers and Win32 headers.

I'll keep up with the feedback as soon as I spot a bug or an improvement.

Occupation: Hobby Programmer
IDE: Code::Blocks Nightly / CodeLite Latest Stable
Compiler: TDM's GCC/mingw32
Blog: [url="//droptix.wordpress.com"]DrOptix.WordPress.Com[/url]

Pecan

#33
Quote from: godlike on November 23, 2009, 09:40:43 AM
Quote from: stahta01 on November 23, 2009, 12:38:42 AM
Quote from: godlike on November 22, 2009, 09:01:32 PM
I put a custom ICPC flag but it never saves it. When I click ok and then go again its lost.

What exactly do you put in?

Tim S.

It doesnt work whatever flag I put in. But since you ask I put -O3 just to test it

If you put -O3 in "Project build options" tab "other options", but you did not check tab "Compiler flags" -O3 options, it will be removed by CB.


[attachment deleted by admin]

godlike

Quote from: Pecan on November 24, 2009, 12:29:16 AM
Quote from: godlike on November 23, 2009, 09:40:43 AM
Quote from: stahta01 on November 23, 2009, 12:38:42 AM
Quote from: godlike on November 22, 2009, 09:01:32 PM
I put a custom ICPC flag but it never saves it. When I click ok and then go again its lost.

What exactly do you put in?

Tim S.

It doesnt work whatever flag I put in. But since you ask I put -O3 just to test it

If you put -O3 in "Project build options" tab "other options", but you did not check tab "Compiler flags" -O3 options, it will be removed by CB.


I also tried flags that are not listed in the "compiler settings" tab. For some reason it removes every flag I put in "other options". I will try to replicate the bug using clean settings.

cybek

Saving projects don't work. I change my tabs position (sort) and i click save all files &&/|| save project, it don't work. When i reload my project, the tabs is opened with old sort.

/* My english sucks (segmentation fault) , i know */

stahta01

#36
Quote from: cybek on November 26, 2009, 04:38:04 PM
Saving projects don't work. I change my tabs position (sort) and i click save all files &&/|| save project, it don't work. When i reload my project, the tabs is opened with old sort.

/* My english sucks (segmentation fault) , i know */

Try saving the project layout.
I think it is
View -> Prespectives -> Save Current

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

cybek

Quote from: stahta01 on November 26, 2009, 04:42:35 PM
Quote from: cybek on November 26, 2009, 04:38:04 PM
Saving projects don't work. I change my tabs position (sort) and i click save all files &&/|| save project, it don't work. When i reload my project, the tabs is opened with old sort.

/* My english sucks (segmentation fault) , i know */

Try saving the project layout.
I think it is
View -> Prespectives -> Save Current

Tim S.

Sorry, don't work. I talk about tabs with opened files.

Jenna

Quote from: cybek on November 26, 2009, 04:38:04 PM
Saving projects don't work. I change my tabs position (sort) and i click save all files &&/|| save project, it don't work. When i reload my project, the tabs is opened with old sort.

It's a problem with the wxAuiNotebook we use.
The tabs are saved (and reopened) in the order they have been opened originally.

There is no workaround I know, except patching wxWidgets or using an own notebook-class derived from wxAuiNotebbok.

I have a working patch for the second (see here: http://forums.next.codeblocks.org/index.php/topic,11519.0.html ), but the number of answers in this thread is overwhelming  :cry: .

cybek

Thanks for reply. I continue discussion in topic that you post.

lp08

crash when importing vorbis_dynamic.sln in libvorbis-1.2.3 \ win32 \ VS2008


Error occured on Sunday, November 29, 2009 at 10:53:44.

C:\Programmi\CodeBlocks\codeblocks.exe caused an Access Violation at location 77c17740 in module C:\WINDOWS\system32\msvcrt.dll Reading from location 00000000.

Registers:
eax=00000000 ebx=61801701 ecx=70529280 edx=00000000 esi=00496328 edi=0022fb40
eip=77c17740 esp=0022e5a8 ebp=0022e9e4 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010246

Call stack:
77C17740  C:\WINDOWS\system32\msvcrt.dll:77C17740  strcmp
70506AE6  C:\Programmi\CodeBlocks\share\codeblocks\plugins\projectsimporter.dll:70506AE6
7050728E  C:\Programmi\CodeBlocks\share\codeblocks\plugins\projectsimporter.dll:7050728E
7051491D  C:\Programmi\CodeBlocks\share\codeblocks\plugins\projectsimporter.dll:7051491D
70514DE5  C:\Programmi\CodeBlocks\share\codeblocks\plugins\projectsimporter.dll:70514DE5
6189CB73  C:\Programmi\CodeBlocks\codeblocks.dll:6189CB73  _ZN14ProjectManager11LoadProjectERK8wxStringb
70508BFC  C:\Programmi\CodeBlocks\share\codeblocks\plugins\projectsimporter.dll:70508BFC
70513FD8  C:\Programmi\CodeBlocks\share\codeblocks\plugins\projectsimporter.dll:70513FD8
70514DFF  C:\Programmi\CodeBlocks\share\codeblocks\plugins\projectsimporter.dll:70514DFF
0042FA8C  C:\Programmi\CodeBlocks\codeblocks.exe:0042FA8C
0042FB8B  C:\Programmi\CodeBlocks\codeblocks.exe:0042FB8B
6CCCB32E  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCB32E  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
6CCCC909  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCC909  _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
6CCCCDCF  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCDCF  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD9C4C9  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD9C4C9  _ZN11wxFrameBase14ProcessCommandEi
6CD38EC8  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD38EC8  _ZN7wxFrame13HandleCommandEttPv
6CD3A957  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD3A957  _ZN7wxFrame13MSWWindowProcEjjl
6CD15E91  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD15E91  _Z9wxWndProcP6HWND__jjl@16
7E398734  C:\WINDOWS\system32\USER32.dll:7E398734  GetDC
7E398816  C:\WINDOWS\system32\USER32.dll:7E398816  GetDC
7E3989CD  C:\WINDOWS\system32\USER32.dll:7E3989CD  GetWindowLongW
7E398A10  C:\WINDOWS\system32\USER32.dll:7E398A10  DispatchMessageW
6CCFD1D0  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCFD1D0  _ZN11wxEventLoop14ProcessMessageEP6tagMSG
6CCFD4DC  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCFD4DC  _ZN11wxEventLoop8DispatchEv
6CD93813  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD93813  _ZN17wxEventLoopManual3RunEv
6CD70DFB  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD70DFB  _ZN9wxAppBase8MainLoopEv
00403B83  C:\Programmi\CodeBlocks\codeblocks.exe:00403B83
6CC7730D  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CC7730D  _Z12wxInitializeiPPw
6CCD3088  C:\Programmi\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCD3088  _Z7wxEntryP11HINSTANCE__S0_Pci
0040724E  C:\Programmi\CodeBlocks\codeblocks.exe:0040724E
004563F8  C:\Programmi\CodeBlocks\codeblocks.exe:004563F8
0040124B  C:\Programmi\CodeBlocks\codeblocks.exe:0040124B
004012B8  C:\Programmi\CodeBlocks\codeblocks.exe:004012B8
7C817077  C:\WINDOWS\system32\kernel32.dll:7C817077  RegisterWaitForInputIdle

stahta01

#41
Quote from: lp08 on November 29, 2009, 11:13:47 AM
crash when importing vorbis_dynamic.sln in libvorbis-1.2.3 \ win32 \ VS2008

Fails to import project libvorbis-1.2.3\win32\VS2008\libvorbis\libvorbis_dynamic.vcproj

I am thinking it is crashing inside file msvc7loader.cpp
bool MSVC7Loader::DoSelectConfiguration(TiXmlElement* root)


Call stack:
77488B21  D:\Windows\system32\msvcrt.dll:77488B21  strcmp
70502C92  H:\SourceCode\Projects\IDEs\CodeBlocks\codeblocks-wx28-DW2\src\output\share\codeblocks\plugins\projectsimporter.dll:70502C92  _ZN11MSVC7Loader21DoSelectConfigurationEP12TiXmlElement
70502351  H:\SourceCode\Projects\IDEs\CodeBlocks\codeblocks-wx28-DW2\src\output\share\codeblocks\plugins\projectsimporter.dll:70502351  _ZN11MSVC7Loader4OpenERK8wxString
70519FD4  H:\SourceCode\Projects\IDEs\CodeBlocks\codeblocks-wx28-DW2\src\output\share\codeblocks\plugins\projectsimporter.dll:70519FD4  _ZN16ProjectsImporter11LoadProjectERK8wxString
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

stahta01

Patch for NOPCH Windows Build and changing "sdk_precomp.h" to "sdk.h"

Tim S.


Index: src/plugins/contrib/CppCheck/CppCheckListLog.cpp
===================================================================
--- src/plugins/contrib/CppCheck/CppCheckListLog.cpp (revision 5951)
+++ src/plugins/contrib/CppCheck/CppCheckListLog.cpp (working copy)
@@ -1,4 +1,4 @@
-#include "sdk_precomp.h"
+#include "sdk.h"

#ifndef CB_PRECOMP
     #include <wx/arrstr.h>
Index: src/plugins/contrib/IncrementalSearch/IncrementalSearch.cpp
===================================================================
--- src/plugins/contrib/IncrementalSearch/IncrementalSearch.cpp (revision 5951)
+++ src/plugins/contrib/IncrementalSearch/IncrementalSearch.cpp (working copy)
@@ -16,6 +16,7 @@
     #include <configmanager.h>
     #include <editormanager.h>
     #include <cbeditor.h>
+    #include <logmanager.h>
#endif

#include <cbstyledtextctrl.h>
Index: src/sdk/projectfileoptionsdlg.cpp
===================================================================
--- src/sdk/projectfileoptionsdlg.cpp (revision 5951)
+++ src/sdk/projectfileoptionsdlg.cpp (working copy)
@@ -12,6 +12,7 @@
#ifndef CB_PRECOMP
     #include "cbproject.h"
     #include "compilerfactory.h"
+    #include "logmanager.h"
     #include <wx/xrc/xmlres.h>
     #include <wx/intl.h>
     #include <wx/choice.h>
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Jenna

Quote from: stahta01 on December 03, 2009, 04:30:57 PM
Patch for NOPCH Windows Build and changing "sdk_precomp.h" to "sdk.h"

Tim S.


Index: src/plugins/contrib/CppCheck/CppCheckListLog.cpp
===================================================================
--- src/plugins/contrib/CppCheck/CppCheckListLog.cpp (revision 5951)
+++ src/plugins/contrib/CppCheck/CppCheckListLog.cpp (working copy)
@@ -1,4 +1,4 @@
-#include "sdk_precomp.h"
+#include "sdk.h"

#ifndef CB_PRECOMP
     #include <wx/arrstr.h>
Index: src/plugins/contrib/IncrementalSearch/IncrementalSearch.cpp
===================================================================
--- src/plugins/contrib/IncrementalSearch/IncrementalSearch.cpp (revision 5951)
+++ src/plugins/contrib/IncrementalSearch/IncrementalSearch.cpp (working copy)
@@ -16,6 +16,7 @@
     #include <configmanager.h>
     #include <editormanager.h>
     #include <cbeditor.h>
+    #include <logmanager.h>
#endif

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

done in svn r5954

laserbeak43

noooooooooooooooooooooooooooooooooooooooooooooooo!
I can't open .7z files at work!!(i looked for a portable archive app but they all had installers anyway.)