mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-06 04:00:08 +00:00
Projucer: Put recommended warning flags before other flags
This commit is contained in:
parent
ece16bce70
commit
214e59aaa8
3 changed files with 7 additions and 6 deletions
|
|
@ -1245,8 +1245,10 @@ public:
|
|||
if (config.isFastMathEnabled())
|
||||
s.set ("GCC_FAST_MATH", "YES");
|
||||
|
||||
auto flags = (owner.replacePreprocessorTokens (config, owner.getExtraCompilerFlagsString())
|
||||
+ " " + config.getRecommendedCompilerWarningFlags().joinIntoString (" ")).trim();
|
||||
|
||||
auto flags = (config.getRecommendedCompilerWarningFlags().joinIntoString (" ")
|
||||
+ " " + owner.getExtraCompilerFlagsString()).trim();
|
||||
flags = owner.replacePreprocessorTokens (config, flags);
|
||||
|
||||
if (flags.isNotEmpty())
|
||||
s.set ("OTHER_CPLUSPLUSFLAGS", flags.quoted());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue