Author Topic: Question about Settings|Compiler Options  (Read 5699 times)

Offline lscpaiva

  • Single posting newcomer
  • *
  • Posts: 8
Question about Settings|Compiler Options
« 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

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Question about Settings|Compiler Options
« Reply #1 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

Offline lscpaiva

  • Single posting newcomer
  • *
  • Posts: 8
Re: Question about Settings|Compiler Options
« Reply #2 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

sethjackson

  • Guest
Re: Question about Settings|Compiler Options
« Reply #3 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

Offline lscpaiva

  • Single posting newcomer
  • *
  • Posts: 8
Re: Question about Settings|Compiler Options
« Reply #4 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

TheNullinator

  • Guest
Re: Question about Settings|Compiler Options
« Reply #5 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.
« Last Edit: March 27, 2006, 03:50:09 am by TheNullinator »


Offline lscpaiva

  • Single posting newcomer
  • *
  • Posts: 8
Re: Question about Settings|Compiler Options
« Reply #7 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