Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: LETARTARE on July 23, 2019, 07:05:00 pm

Title: Opensuse-Leap-42.3 :: lost compiler flags
Post by: LETARTARE on July 23, 2019, 07:05:00 pm
I use :
Quote
wx-config --version
2.8.12       
       
and                                                                       
Quote
gcc --version
gcc (SUSE Linux) 4.8.5

I am now using only 'CB' versions compiled in  "/home/name/SVN_COMPILE/Cb/..."

 When compiling 'Code::Blocks wx2.8.x (Unix)-11800'  and reading the compiler flags  'Gcc' by 
Quote
'Project->Build Options->Project->Compiler Flags'
: the window is empty !
All other compiled versions of CB are in the same case.

I searched in "/home/name/.config/codeblocks/...",  but no "compilers/options_gcc.xml" file that I thought could erase.

Could you tell me the solution to this problem ?


Title: Re: Opensuse-Leap-42.3 :: lost compiler flags
Post by: oBFusCATed on July 23, 2019, 08:13:06 pm
Do you have any xml file related to the compiler options in your install folder? Do you have cb in system folder?
Title: Re: Opensuse-Leap-42.3 :: lost compiler flags
Post by: osdt on July 23, 2019, 09:36:48 pm
...
I searched in "/home/name/.config/codeblocks/...",  but no "compilers/options_gcc.xml" file that I thought could erase.

Have a look at $HOME/.local/share/codeblocks/compilers .
Title: Re: Opensuse-Leap-42.3 :: lost compiler flags
Post by: LETARTARE on July 23, 2019, 11:30:50 pm
Thanks for the answers

@osdt :
Won: it's actually at that location!
Removing it solves the problem.