Author Topic: Compiler Flags GONE!  (Read 4059 times)

Offline joergh

  • Single posting newcomer
  • *
  • Posts: 3
Compiler Flags GONE!
« on: November 12, 2016, 03:30:24 pm »
I just updated my Win 8.1 and now I suddenly don't have any Compiler flags! Image attached.

Any ideas how to resolve this?

Cheers,
Joerg

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Compiler Flags GONE!
« Reply #1 on: November 12, 2016, 03:54:56 pm »
I had this once; and I deleted a file to fix it.
Not sure what file it was; it might have been the default config file.
You might try using the GUI reset command to see it that will fix it.

Settings -> Compilers
Click on Button: Reset Defaults

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 joergh

  • Single posting newcomer
  • *
  • Posts: 3
Re: Compiler Flags GONE!
« Reply #2 on: November 12, 2016, 03:59:37 pm »
Sorry, didn't work. Still no compiler flags:

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Compiler Flags GONE!
« Reply #3 on: November 12, 2016, 04:11:20 pm »
Edit2: MY next post is likely a safer one to do before the steps in this post.

Then, exit out of Code::Blocks

Open the folder %APPDATA%
Open the sub folder Roaming\CodeBlocks or CodeBlocks.

Rename the file default.conf to something like default.conf.old

Last restart Code::Blocks

Edit: I use WIN+R to open the %APPDATA% folder.

Tim S.
« Last Edit: November 12, 2016, 04:15:33 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: 7588
    • My Best Post
Re: Compiler Flags GONE!
« Reply #4 on: November 12, 2016, 04:14:26 pm »
You can also try deleting the xml files in %APPDATA%\Roaming\CodeBlocks\share\codeblocks\compilers

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 joergh

  • Single posting newcomer
  • *
  • Posts: 3
Re: Compiler Flags GONE!
« Reply #5 on: November 12, 2016, 04:32:22 pm »
Great! I renamed default.conf, restarted CB and added my compiler and all compiler flags are now there!

Thanks!

Cheers,
Joerg

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Compiler Flags GONE!
« Reply #6 on: November 12, 2016, 08:15:31 pm »
If it happens again please try to remember the steps that caused it and report back.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]