summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-19 21:19:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-19 21:19:18 +0300
commit9bd03cf313038f9221a9661973ebf29ef6d4654c (patch)
tree4792251df40119472a0879db77d1c07df3548e45 /configure
parent98f4fcb5ba1819ace7cfe6ad4ac9fdc4e7754ba9 (diff)
downloadhercules-9bd03cf313038f9221a9661973ebf29ef6d4654c.tar.gz
hercules-9bd03cf313038f9221a9661973ebf29ef6d4654c.tar.bz2
hercules-9bd03cf313038f9221a9661973ebf29ef6d4654c.tar.xz
hercules-9bd03cf313038f9221a9661973ebf29ef6d4654c.zip
Remove some unused macroses. Left macroses in socket.c
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 9 insertions, 4 deletions
diff --git a/configure b/configure
index 03f0dca11..71ca5bcfb 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in fd7cd2c.
+# From configure.in 98f4fcb.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69.
#
@@ -4570,17 +4570,22 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
# -Wcast-qual use for check wrong casts. It cant be added by default, because some casts must be wrong.
# -Wconversion warning: conversion to 'long unsigned int' from 'int' may change the sign of the result
# -Wfloat-equal comparing floating point with == or != is unsafe
+# -Wunsuffixed-float-constants float issues
# -Wpedantic different pedantic checks. Not all can be fixed in nice way.
+# -Wtraditional-conversion some conversion issues
+# -Wunsafe-loop-optimizations possible optimisation issues
+# -Wunused-parameter -Wunused-but-set-parameter unused parameters
+# -Wunused-macros unused macro warnings, but it also enable unused parameters
# attributes suggestion
# -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=pure
# flags what can be used but now return no warnings: -Warray-bounds -Wbool-compare -Wcast-align
# -Wchar-subscripts -Wchkp -Wclobbered -Wcomment -Wdisabled-optimization -Wempty-body
-# -Werror-implicit-function-declaration -Wignored-qualifiers
+# -Werror-implicit-function-declaration -Wignored-qualifiers -Wtrampolines -Wtype-limits
# -Wjump-misses-init -Wlogical-op -Wmissing-field-initializers -Wmissing-parameter-type
# -Wnested-externs -Wold-style-declaration -Wold-style-definition -Woverlength-strings -Woverride-init
-# -Wredundant-decls -Wstack-protector -Wstrict-prototypes
-# -Winit-self -Wpointer-arith
+# -Wredundant-decls -Wstack-protector -Wstrict-prototypes -Wundef
+# -Winit-self -Wpointer-arith -Wswitch-bool
CFLAGS="$CFLAGS -pipe -ffast-math -Wall -Wextra -Wno-sign-compare"
CPPFLAGS="$CPPFLAGS -I../common"