Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: gd_on on October 27, 2014, 03:02:41 pm
-
Since a while, but I can't remember when it has started, some compiler settings are empty.
This happen also after deleting the default.conf file and/or building after cleaning.
Here, it's for gcc, but sometimes it's for gfortran, this happen for some projets, but for others it's OK. And for compilers that I don't have, the setting list appears !
As it's in the general settings of C::B, it's annoying (for a specific project, using a specific compiler, I can understand such bahaviour, if you have not access to the settings of a compiler not used for this project!)
I'm on windows 7 with svn 10014, C::B and wxwidgets compiled with tdm 4.8.1.
As it does not look systematic, I can't give a way to reproduce this.
gd_on
-
I have the same issue: I'm using nightly build rev9958, I just create a simple console C project, and I see the compiler setting is empty. :(
-
In the compiler window, I have clicked on "Reset default" when gcc compiler was chosen. After closing and restarting C::B, the problem seems to have disapeared and everything looks OK.
Strange ??? ! Because, as I have previously deleted default.conf (see my previous post), I supposed that many settings were reset. Apparently, this is not totally true. Some settings are in an other file, which is now correct, but was not last time.
May be I should have deleted an other file, but I don't know which one.
Finally, this "Reset default" button did the job. :D
gd_on
-
Search for xml files inside the folder where your default.conf file is located. It should somewhere inside share/xxxx/compiler/...
-
Thanks for this suggestion.
Nevetheless, in my C:\Users\Gerard_2\AppData\Roaming\CodeBlocks\share\codeblocks, there is nothing ! folder is empty now. My default.conf is effectively in C:\Users\Gerard_2\AppData\Roaming\CodeBlocks.
But may be there was something wrong in it, before this "Reset default" button. I don't know.
gd_on
-
The reset button has probably deleted the file/s.
Probably you've defined some new flags or edited some of the existing flags.