Author Topic: CodeBlocks 13.12 set options in a description of a problem(or bug).  (Read 13151 times)

Offline Chun Jiu

  • Multiple posting newcomer
  • *
  • Posts: 71
  • My Girlfriend
    • EasilyGCC
The default value is actually the second, rather than the third.

Code::Blocks -> Project -> Properties -> Project settings -> Precompiled headers

 - Generate ...
 - Generate PCH in the object output dir (default)
 - Generate ...

I love my girlfriend like c++!    :-)

http://pan.baidu.com/s/1feNwU
easilygcc is a gmail's email.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7665
    • My Best Post
Re: CodeBlocks 13.12 set options in a description of a problem(or bug).
« Reply #1 on: June 25, 2014, 03:01:19 pm »
How did you create the project?
What version of CB was used to create the project?

Edit: Just tested a recent self build and the default does seem to be "Generate PCH in the object output dir"
Edit2: Default in this case means what happens if "Option pch_mode" deleted from cbp file manually.

Note, I have not tested the CB Wizard which might have another default.

Tim S.
« Last Edit: June 25, 2014, 03:15:05 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7665
    • My Best Post
Re: CodeBlocks 13.12 set options in a description of a problem(or bug).
« Reply #2 on: June 25, 2014, 03:18:59 pm »
If a CB Dev member agrees it is a issue here is a patch.

Code
Index: src/src/resources/project_options.xrc
===================================================================
--- src/src/resources/project_options.xrc (revision 9831)
+++ src/src/resources/project_options.xrc (working copy)
@@ -148,8 +148,8 @@
  <label>Strategy</label>
  <content>
  <item>Generate PCH in a directory alongside original header</item>
- <item>Generate PCH in the object output dir</item>
- <item>Generate PCH alongside original header (default)</item>
+ <item>Generate PCH in the object output dir (default)</item>
+ <item>Generate PCH alongside original header</item>
  </content>
  <style>wxRA_SPECIFY_COLS</style>
  </object>

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Chun Jiu

  • Multiple posting newcomer
  • *
  • Posts: 71
  • My Girlfriend
    • EasilyGCC
Re: CodeBlocks 13.12 set options in a description of a problem(or bug).
« Reply #3 on: June 25, 2014, 03:38:34 pm »
Sorry , i did not say use of the environment:

This problem is codeblocks settings menu word (default) in the wrong place .

At the end of the second line should be, and should not be at the end of the third line.
-------------------------------------------------------------------------------------------------------------
My computer OS : Windows7 64bit
This is the official download codeblocks installed version 13.12(for windows,without TDM-GCC)

--------------------------------------------------------------------------------------------------------------
I love my girlfriend like c++!    :-)

http://pan.baidu.com/s/1feNwU
easilygcc is a gmail's email.

Offline Chun Jiu

  • Multiple posting newcomer
  • *
  • Posts: 71
  • My Girlfriend
    • EasilyGCC
Re: CodeBlocks 13.12 set options in a description of a problem(or bug).
« Reply #4 on: June 25, 2014, 03:42:09 pm »
Thanks! :-)

But I will not modify, expect an official version of the next release version can change overnight.

I love my girlfriend like c++!    :-)

http://pan.baidu.com/s/1feNwU
easilygcc is a gmail's email.