User forums > Help
No check-boxes list in custom compiler settings
Alpha:
--- Quote from: eranon on November 06, 2013, 02:25:19 am ---Under "%AppData%\CodeBlocks\share\codeblocks\compilers" (not "%AppData%\Roaming\CodeBlocks\share\codeblocks\compilers" since %appdata% already points to the roaming directory), I have one file only : options_gcc.xml
--- End quote ---
Delete/remove this file; it is overriding the global one, but for some (unknown) reason was generated empty (you can check, I am fairly certain yours is empty, or nearly empty). (Code::Blocks will generate this file if you use the GUI to add/remove flags from a compiler, but it sounds like you somehow ended up with an empty one.)
(Oops, seems I have forgotten my Windows environment variable expansions :-\.)
--- Quote from: eranon on November 06, 2013, 02:25:19 am ---A Linux-only bug : what's the relationship with my Windows's installs ?
--- End quote ---
None actually; I just noticed it while looking for the cause of your issue.
eranon:
I've updated my SVN copy to current SVN head (r9435 ; a commit from you:), then applied your patch : it remains the same.
About the options_gcc.xml : it was neither empty nor small but... But you're right : it solves the issue ;) I attached it with this post if it can help you to understand the blocking point into it.
Apparently, removing this file, I didn't lost my custom settings (unless error, no missing flag, even about winres in advanced settings)...
Thanks again for your reactivity, alpha.
Alpha:
--- Quote from: eranon on November 06, 2013, 05:44:42 am ---About the options_gcc.xml : it was neither empty nor small but... But you're right : it solves the issue ;) I attached it with this post if it can help you to understand the blocking point into it.
--- End quote ---
In looking through, the xml file contained everything it was supposed to contain, except it had no definitions for the available compiler flags. So definitely the cause of the problem... it is yet to be seen if the reason this faulty config file was generated can be determined.
eranon:
Hmm, do you think it could be because of my use of several C::B in the same system (sharing the same appdata space) ? Well, however, I think I'll remove the old one and nightly, keeping the official binaries (12.11) and a SVN (HEAD) only.
Navigation
[0] Message Index
[*] Previous page
Go to full version