User forums > Nightly builds

The 01 october 2006 build is out.

<< < (4/4)

Pecan:

--- 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

--- End quote ---

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:

--- 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

--- End quote ---

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.


--- End quote ---

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:
There is another CC problem with macros.

I have declared a macro at header let's say testa.h:

--- Code: (cpp) ---#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) {} }; \
--- End code ---

At another file

--- Code: (cpp) ---#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

--- End code ---

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

mandrav:

--- Quote ---Is it possible to be implemented, or it is too complicated?
--- End quote ---

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 ;).

Navigation

[0] Message Index

[*] Previous page

Go to full version