News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

How to remove default compiler flags

Started by mariusm, January 23, 2025, 11:39:40 AM

Previous topic - Next topic

mariusm

Hello,

For one project I need to remove same compiler flags which is on global settings but I do not need on this project settings.

Can I make this?

I find nothing like this Project->Build options

stahta01

Quote from: mariusm on January 23, 2025, 11:39:40 AM
Hello,

For one project I need to remove same compiler flags which is on global settings but I do not need on this project settings.

Can I make this?

I find nothing like this Project->Build options

Remove the Flags from Global compiler Settings

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Miguel Gimenez

You can create a copy of the compiler, remove the undesired flags from the copy and use it for the new project.