Code::Blocks Forums

User forums => Help => Topic started by: hcye on January 19, 2007, 08:41:40 pm

Title: C::B crashes when compiling a file not in the target
Post by: hcye on January 19, 2007, 08:41:40 pm
When I try to compile an open file, if the selected target does not include this file, then C::B would crash, every time.

(I am using the Nov. 21 build for Windows, so this may have been fixed. If so, please let me know. Thanks!)

Huanchun Ye
huanchunye@gmail.com
Title: Re: C::B crashes when compiling a file not in the target
Post by: kingfox on January 22, 2007, 03:07:27 pm
I can't reproduce this case, maybe it has been fixed now(Build Jan 17, 2007).
Title: Re: C::B crashes when compiling a file not in the target
Post by: hcye on January 22, 2007, 07:56:34 pm
I updated to the latest nightly and still saw the same crash.

Then I tried changing the settings, moving all include directories from global settings under "compiler and debugger" to the project settings, and the problem went away. :-)

Huanchun