From 9bd03cf313038f9221a9661973ebf29ef6d4654c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Feb 2016 21:19:18 +0300 Subject: Remove some unused macroses. Left macroses in socket.c --- configure | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'configure') 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" -- cgit v1.2.3-60-g2f50