User forums > Using Code::Blocks
Code::Blocks and clang on Debian
Poenikatu:
When I start a new project, after pressing Finish on the last configuration page, I get the following message:
This wizard doesn't know how to
setup exception flags for this
compiler.
Can anybody explain this message and what I can do about it?
~~~~
Alpha:
--- Quote from: Poenikatu on July 22, 2013, 10:56:50 pm ---Can anybody explain this message and what I can do about it?
--- End quote ---
Bug in the wizard; fixed in trunk.
--- Quote from: Poenikatu on July 22, 2013, 10:49:39 pm ---In a previous post, I had confused the two kinds of commands. However, I still don't understand why Code::Blocks insists on specifying
-Weverything even though I have only asked for -Wall. Can you shed light on that?
--- End quote ---
The command -Weverything was most likely specified at project (not target) level.
stahta01:
--- Quote from: Poenikatu on July 22, 2013, 10:56:50 pm ---When I start a new project, after pressing Finish on the last configuration page, I get the following message:
This wizard doesn't know how to
setup exception flags for this
compiler.
Can anybody explain this message and what I can do about it?
~~~~
--- End quote ---
You need to check all the Compiler/Linker setting the Wizard said it does not know what to do.
This means it likely did NOT set the correct settings.
Tim S.
oBFusCATed:
--- Quote from: Poenikatu on July 22, 2013, 10:49:39 pm ---In a previous post, I had confused the two kinds of commands. However, I still don't understand why Code::Blocks insists on specifying
-Weverything even though I have only asked for -Wall. Can you shed light on that?
--- End quote ---
If it is in the build log then you've set it somewhere.
Possible locations:
1. settings -> compiler -> your compiler -> compiler settings -> compiler flags or other options
2. project -> build options -> project -> compiler settings -> compiler flags or other options
3. project -> build options -> your active target -> compiler settings -> compiler flags or other options
Good luck... :P
p.s. there is no point to start topics where you're not willing to help the people trying to help you. ::)
blauzahn:
--- Quote ---In a previous post, I had confused the two kinds of commands. However, I still don't understand why Code::Blocks insists on specifying
-Weverything even though I have only asked for -Wall. Can you shed light on that?
--- End quote ---
It is probably acivated project-wide (see See project -> build options -> select your project name (top left)).
Often, the project and target options are concatenated but you can limit that to target only if you want.
See project -> build options -> your llvm target -> policy: use target options only. This can be set individually for compile- link-flags etc.
Quite comfortable. Play with it.
If the unwanted option is still there, than it is configured systemwide. See reply by oBFusCATed to find its location.
If you want to use the wizard without updating your cb: You can start a project with gcc and later on switch the selected compiler to llvm/clang.
or even create your personal compiler-settings by copying and adapting one of the existing ones (see settings -> compiler) and use that.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version