aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2018-06-23 10:22:49 +0200
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2018-06-23 10:22:49 +0200
commitc6ed823ef7f1b1b4254110aef5f0a30bf101fe4a (patch)
tree7946fd7f2f0032b9164543221c191898ec5f964f /templates
parentfae0d95d2b48e9cdc9810ac90586251fcc8c548b (diff)
+ -> X
Diffstat (limited to 'templates')
-rw-r--r--templates/Makefile.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/Makefile.template b/templates/Makefile.template
index 8082ca9afb..afab229fae 100644
--- a/templates/Makefile.template
+++ b/templates/Makefile.template
@@ -40,7 +40,7 @@
CHECK_WARNINGS=PREFERRED_WARNINGS + ['no-shift-negative-value', 'no-c++14-compat', 'no-unused-but-set-variable']
def warning_var(fmt, warning):
- return fmt % warning.replace('-', '_').upper()
+ return fmt % warning.replace('-', '_').replace('+', 'X').upper()
def neg_warning(warning):
if warning[0:3] == 'no-':