News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

The 01 october 2006 build is out.

Started by killerbot, October 01, 2006, 11:27:28 PM

Previous topic - Next topic

Pecan

#15
Quote from: Jan van den Borst on October 03, 2006, 11:19:59 AM
Hello all,
I experience some troubles for quite some time now regarding windows shutdown and codeblocks crash. When I shutdown my computer and codeblocks is still running, codeblocks always crash even when you are prompted to save your work. Saving works but codeblocks crashes afterwards. No problem closing codeblocks normally (not forced by a windows shutdown)
Any ideas?
Jan

I can confirm that on Windows XPsp2, shutting down with CB open (SVN 3001 and prior) causes CB to crash and hangs the shutdown.

I'll see if I can get a backtrace on this.

Pecan

#16
Quote from: Pecan on October 03, 2006, 02:13:42 PM
Quote from: Jan van den Borst on October 03, 2006, 11:19:59 AM
Hello all,
I experience some troubles for quite some time now regarding windows shutdown and codeblocks crash. When I shutdown my computer and codeblocks is still running, codeblocks always crash even when you are prompted to save your work. Saving works but codeblocks crashes afterwards. No problem closing codeblocks normally (not forced by a windows shutdown)
Any ideas?
Jan

I can confirm that on Windows XPsp2, shutting down with CB open (SVN 3001 and prior) causes CB to crash and hangs the shutdown.

I'll see if I can get a backtrace on this.


Looks like I'm not going to get a backtrace on this one. It shuts down just fine when run under GDB. But still crashes on shutdown otherwise.

Does that "woah" window produce a backtrace? I dont seem to find one anywhere.

sque

#17
There is another CC problem with macros.

I have declared a macro at header let's say testa.h:
Code (cpp) Select
#define SLIB_DECLARE_EXCEPTION(name, type) \   // << A there is a bug at forums C++ format plugin too :P
    class name : public Exception { \
    public : name (int error, const string desc, const string func, const string file, long line) \
    : Exception(error, desc, func, file, line, type) {} }; \


At another file
Code (cpp) Select

#include "testa.h"

// MyException1 declared with normal way
class MyException1 : public Exception
{
public :
    MyException1(int error, const string desc, const string func, const string file, long line)
       :  Exception(error, desc, func, file, line, "MyException1")
     {}
};

// MyException2 Declared using my macro
SLIB_DECLARE_EXCEPTION(MyException2, "MyException2");

// <<< Here code completition sees only MyException1


Is it possible to be implemented, or it is too complicated?
Tell me a bug and I 'll tell you two  :twisted:

mandrav

QuoteIs it possible to be implemented, or it is too complicated?

Nope it won't be implemented because it's too complicated. As a matter of fact we would need to actually evaluate preprocessor macros which won't ever happen ;).
Be patient!
This bug will be fixed soon...