Author Topic: How to remove default compiler flags  (Read 163 times)

Offline mariusm

  • Multiple posting newcomer
  • *
  • Posts: 47
How to remove default compiler flags
« on: Yesterday at 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
« Last Edit: Yesterday at 04:11:05 pm by mariusm »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7715
    • My Best Post
Re: How to remove default compiler flags
« Reply #1 on: Yesterday at 05:23:02 pm »
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++ 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 Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1661
Re: How to remove default compiler flags
« Reply #2 on: Yesterday at 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.