Author Topic: The 29 May 2008 build (5082) is out.  (Read 31496 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5179
Re: The 29 May 2008 build (5082) is out.
« Reply #15 on: June 03, 2008, 08:46:18 am »
Patch for NON-PCH Build on Windows.

Tim S


Index: src/plugins/contrib/headerfixup/fileanalysis.cpp
===================================================================
--- src/plugins/contrib/headerfixup/fileanalysis.cpp   (revision 5084)
+++ src/plugins/contrib/headerfixup/fileanalysis.cpp   (working copy)
@@ -12,6 +12,7 @@
   #include "manager.h"
   #include "editormanager.h"
   #include "cbeditor.h"
+  #include "logmanager.h"
 #endif
 
 #include <wx/ffile.h>


done

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 29 May 2008 build (5082) is out.
« Reply #16 on: June 03, 2008, 04:10:37 pm »
In Debian Lenny, I opened CB and edit some source code. When i type 'wxS', the 'S' will make CB crash.
In the /tmp dir, it's exist a folder: codeblocks_dbgrpt-12559-20080603T220018, but nothing in it.
When i retry again, the crash repeat.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: The 29 May 2008 build (5082) is out.
« Reply #17 on: June 03, 2008, 05:52:18 pm »
Patch for NON-PCH Build on Windows.
Index: src/plugins/contrib/headerfixup/fileanalysis.cpp
===================================================================
--- src/plugins/contrib/headerfixup/fileanalysis.cpp   (revision 5084)
+++ src/plugins/contrib/headerfixup/fileanalysis.cpp   (working copy)
@@ -12,6 +12,7 @@
   #include "manager.h"
   #include "editormanager.h"
   #include "cbeditor.h"
+  #include "logmanager.h"
 #endif
 
 #include <wx/ffile.h>
:lol: :lol: :lol:

I can't believe it! That's what this plugin is actually for: NOT to have to apply any PCH fixes... Need to dig into that. WTF...?! :shock:
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 29 May 2008 build (5082) is out.
« Reply #18 on: June 04, 2008, 03:31:53 am »
Debian Lenny: Using CB, the computer shut down, when i restart the computer, and open the prev project, i found all file can not edit. and the project show with a lock ico.
How to unlock the project?
Thanks!
---------------------------------
Found the reason! because the disk is read-only!
« Last Edit: June 04, 2008, 03:57:28 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 29 May 2008 build (5082) is out.
« Reply #19 on: June 04, 2008, 04:28:24 pm »
Debian: if some cpp file include chinese char, and Settings->Editor->Default encoding is 'Windows 936', this file will auto change encoding to ISO-8859-1, and the chinese char can not show correct.

Offline mushakk

  • Multiple posting newcomer
  • *
  • Posts: 54
Re: The 29 May 2008 build (5082) is out.
« Reply #20 on: June 05, 2008, 03:54:11 pm »
Codeblocks continues passing .INL files to the linker and ar can't link.  :(

The .inl files are always included from the .h file that declares the template.
#include "mytemplate.inl.

I have to return to the 8.02 version.  :(

Thanks for your work.  :D

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: The 29 May 2008 build (5082) is out.
« Reply #21 on: June 05, 2008, 04:10:03 pm »
Codeblocks continues passing .INL files to the linker and ar can't link.  :(
Instead of posting this "1 million times" thus spamming the forum why don't you just create a bug report at BerliOS so that this doesn't get lost?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Chilihead

  • Guest
Re: The 29 May 2008 build (5082) is out.
« Reply #22 on: June 05, 2008, 04:46:40 pm »
Greetings,

i cant debug anymore with this build. console applications simply dont start.

CB Build: 5082
System: WinXP

debuger's log

PATH=.;C:\Programme\CodeBlocks\MinGW\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\doxygen\bin;C:\Qt\4.4.0\bin;c:\Programme\Microsoft SQL Server\90\Tools\binn\
Command-line: C:\Programme\CodeBlocks\MinGW\bin\gdb.exe -nx -fullname  -quiet -args bin/Debug/CogardReader.exe
Working dir : C:\Entwickel\CDAE\CogardReader\
> set prompt >>>>>>cb_gdb:
(gdb) >>>>>>cb_gdb:
> show version
GNU gdb 6.7.50.20071127
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
>>>>>>cb_gdb:
> set confirm off
>>>>>>cb_gdb:
> set width 0
>>>>>>cb_gdb:
> set height 0
>>>>>>cb_gdb:
> set breakpoint pending on
>>>>>>cb_gdb:
> set print asm-demangle on
>>>>>>cb_gdb:
> set unwindonsignal on
>>>>>>cb_gdb:
> set debugevents on
>>>>>>cb_gdb:
> set new-console on
>>>>>>cb_gdb:
> set disassembly-flavor att
>>>>>>cb_gdb:
> catch throw
Catchpoint 1 (throw)
>>>>>>cb_gdb:
> directory C:/Entwickel/CDAE/CogardReader/
>>>>>>cb_gdb:
> directory C:/Entwickel/
>>>>>>cb_gdb:
> break "C:/Entwickel/CDAE/CogardReader/main.cpp:18"
Breakpoint 2 at 0x418971: file C:/Entwickel/CDAE/CogardReader/main.cpp, line 18.
>>>>>>cb_gdb:
> run
gdb: win32_init_thread_list
warning: Lowest section in C:\WINDOWS\system32\odbcint.dll is .rsrc at 1f841000
Catchpoint 1 (exception thrown)
__static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at C:/Programme/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/iostream:77
C:/Programme/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/iostream:77:3064:beg:0x41ede8
>>>>>>cb_gdb:
> set debugevents off
>>>>>>cb_gdb:

Offline mushakk

  • Multiple posting newcomer
  • *
  • Posts: 54
Re: The 29 May 2008 build (5082) is out.
« Reply #23 on: June 05, 2008, 08:02:51 pm »
Quote
Instead of posting this "1 million times" thus spamming the forum why don't you just create a bug report at BerliOS so that this doesn't get lost?

Sorry "2 times" I don't know how to do it or if I have permissions to do that :P

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 29 May 2008 build (5082) is out.
« Reply #24 on: June 05, 2008, 08:46:36 pm »
Quote
Instead of posting this "1 million times" thus spamming the forum why don't you just create a bug report at BerliOS so that this doesn't get lost?

Sorry "2 times" I don't know how to do it or if I have permissions to do that :P

Open C::B and on "Start here"-tab click on "Report a bug",
or click here

You need to register at berlios to be able to file a bug-report.

Offline mushakk

  • Multiple posting newcomer
  • *
  • Posts: 54
Re: The 29 May 2008 build (5082) is out.
« Reply #25 on: June 09, 2008, 02:42:09 pm »
Oops! Thank u jens  :D