Author Topic: Custom compiler settings not saved  (Read 4060 times)

Offline MC

  • Multiple posting newcomer
  • *
  • Posts: 10
Custom compiler settings not saved
« on: July 15, 2015, 03:16:06 pm »
I have setup a custom compiler config (executables, command line options, output parsing, commands) from settings..compiler settings and eventually
using advanced compiler options. I use codeblocks 13.12 on windows 7 and windows 8.

I recognized that these settings do not hold when quitting and restarting codeblocks again sometimes.
For example i set up the CC65 compiler tool chain by adding a new compiler and it seems that these quite permanently persist.
On the other hand i added assert failed and test failed output parsing options to gcc and they do not survive quitting and restarting of codeblocks.
Can i somehow manually request the settings to be saved? Or can you say under which circumstances settings persist and under which not?
I urgent need some reproducible procedure to make these compiler settings permanently.

Thank you !

Offline scarphin

  • Lives here!
  • ****
  • Posts: 640
Re: Custom compiler settings not saved
« Reply #1 on: July 15, 2015, 05:05:15 pm »
I'm not sure if it will work but there is a 'save everything' menu item.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3352
Re: Custom compiler settings not saved
« Reply #2 on: July 15, 2015, 06:22:56 pm »
i think there was a bug about this not saving....
can you try a nightly build?

greetings

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7699
    • My Best Post
Re: Custom compiler settings not saved
« Reply #3 on: July 15, 2015, 08:40:48 pm »
When I have this issue or related, I open Code::Blocks (CB) with no projects open and do this.

1. disable all the plugins not needed except for the compiler plugin
2. shut down and restart CB
3. make the changes needed
4. shut down and restart CB
5. verify the changes were saved
6. Enable any plugin I normally use.
7. shut down and restart CB

The problem happens for me because CB has an error on shutdown and fails to save changes because of the error.
The above steps always avoided the shutdown error for me.
Often, just NOT opening a project or workspace was enough to avoid the error on shutdown.
The CB plugin I suspected most often was the Code Completion (CC) plugin.

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