Disable useless and annoying warning in 2012/kang
The warning -Wmisleading-indentation is nothing but style policing, can causes unnecessary edits to working code which is error prone itself and even beginner C programmers can parse it as it's one of the first things learnt, blocks of code. And if someone can't perhaps they should be using another language or not programming at all. As for the IOCCC it would be considered a good thing to be 'misleading' except that it's not misleading to anyone participating in the IOCCC and certainly not to the judges if it even is to anyone else.
This commit is contained in:
1 parent
a27d371bf3
commit
8f7193d113
1 file changed
+1
-1
+1
-1
@@ -40,7 +40,7 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error \
|
||||
-Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion \
|
||||
-Wno-pointer-to-int-cast -Wno-deprecated-non-prototype
|
||||
-Wno-pointer-to-int-cast -Wno-deprecated-non-prototype -Wno-misleading-indentation
|
||||
|
||||
# Attempt to silence unknown warnings
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user