Adding compiler flags

how do i add compiler flags in the introjucer?

i can't find any option to add a specific compiler flag for a makefile project. how to do that?

cheers pete

Are you talking about a linux build? If so, there's a section called "extra compiler flags"!

For instance (on Mac OS / Xcode) i have an Introjucer project with those sections:

1. "Extra compiler flags"

-Wall
-Wno-four-char-constants 
-Wno-unknown-pragmas
-Wshadow
-Wshorten-64-to-32

2. "Extra linker flags"

-F${C74SUPPORT}/max-includes
-framework MaxAPI
-bind_at_load

3. "Custom Xcode flags"

GCC_VERSION=4.2, WRAPPER_EXTENSION = mxo, GENERATE_PKGINFO_FILE = YES, GCC_SYMBOLS_PRIVATE_EXTERN = YES, PRODUCT_VERSION = 5.1.7, ARCHS = i386, DEPLOYMENT_LOCATION = YES, INSTALL_PATH = /, DSTROOT = "$(SRCROOT)/../../../../../sdk-build", DEPLOYMENT_POSTPROCESSING = YES, STRIP_INSTALLED_PRODUCT = YES, GCC_GENERATE_DEBUGGING_SYMBOLS = YES, GCC_DEBUGGING_SYMBOLS = full, DEAD_CODE_STRIPPING = YES, DEBUG_INFORMATION_FORMAT = dwarf-with-dsym, DWARF_DSYM_FILE_NAME = "$(PRODUCT_NAME).dSYM", DWARF_DSYM_FOLDER_PATH = "$(CONFIGURATION_BUILD_DIR)/$(EXECUTABLE_FOLDER_PATH)"

i'm sorry, i'm new to juce, so please be gently with my possibly stupid question... but what "extra compiler flags" section do you mean? in the introjucer? please see attachment.

 

Nope, here...

(Note that i'm on Mac OS X).