Code::Blocks Forums

User forums => Help => Topic started by: mariusm on January 23, 2025, 11:39:40 AM

Title: How to remove default compiler flags
Post by: 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
Title: Re: How to remove default compiler flags
Post by: stahta01 on January 23, 2025, 05:23:02 PM
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.
Title: Re: How to remove default compiler flags
Post by: Miguel Gimenez on January 23, 2025, 05:53:43 PM
You can create a copy of the compiler, remove the undesired flags from the copy and use it for the new project.