Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: lscpaiva on March 26, 2006, 08:59:55 pm

Title: Question about Settings|Compiler Options
Post by: lscpaiva on March 26, 2006, 08:59:55 pm
Hi All

For what is the menu Settings|Compiler options used if the options set there is not used when a new project is created? I think that it would serve as "default" project options for new projects.

Any answer to this question will be appreciated.

TIA

Luiz Sergio
Title: Re: Question about Settings|Compiler Options
Post by: Michael on March 26, 2006, 09:07:53 pm
Hello,

If I have good understood your question, under Settings-->Compiler and debugger you can set global options that are valid for all your projects. Under Project-->Build options you can set options that are specific to the project in question.

Best wishes,
Michael
Title: Re: Question about Settings|Compiler Options
Post by: lscpaiva on March 26, 2006, 11:55:27 pm
Hi Michael

I had understood what you wrote too, but it is not what is happening. If I set the Directories in Settings|Compiler with the paths where the include and lib files are and then leaving Directories in Projects|Build options cleared or set only with the global variable wx with the path where wxwidgets is installed, then when I define a new project , the project do not recognize the paths set in Settings|Compiler. In order to have it functioning correctly, it is needed to set the directories of Projects|Build Options with paths of include and lib files.

Other IDE's like C++ Builder and DEV-CPP function correctly. I think that behaviour would be a bug in Code Blocks.

Regards

Luiz Sergio
Title: Re: Question about Settings|Compiler Options
Post by: sethjackson on March 27, 2006, 01:33:52 am
Are you using a nighty build? If not get one here.

http://forums.codeblocks.org/index.php?board=20.0
Title: Re: Question about Settings|Compiler Options
Post by: lscpaiva on March 27, 2006, 03:06:52 am
Hi sethjackson

I am using last copilation from Therion (build 1648). Before that it was build 1583.

The same behaviour in both builds.

Regards

Luiz Sergio
Title: Re: Question about Settings|Compiler Options
Post by: TheNullinator on March 27, 2006, 03:46:12 am
You might want to upgrade to a nightly build provided by Killerbot.  Revision 1648 is a bit old.  The most recent build is revision 2260.  IIRC there was an ANSI nightly 2 weeks ago or something if you're running Win9x/ME.
Title: Re: Question about Settings|Compiler Options
Post by: sethjackson on March 27, 2006, 04:00:05 am
http://download.berlios.de/codeblocks/CB_20060217_rev2025_win32_ansi_.7z
Title: Re: Question about Settings|Compiler Options
Post by: lscpaiva on March 29, 2006, 02:19:20 am
Thanks for all answers

I'll get the file next weekend and test it.

Regards

Luiz Sergio