Skip to content

Commit

Permalink
* Remove warning on cast on pointers to functions
Browse files Browse the repository at this point in the history
  • Loading branch information
yoogx committed Oct 11, 2020
1 parent 894220d commit 27fc21a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions share/make/Makefile.common.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ CYGPATH_U = @CYGPATH_U@
CYGPATH_W = @CYGPATH_U@

# Regarding compilation warning flags:
# - -Wswitch-enum silent this flag, too verbose
# - -Wextra brings -Wcast-function-type which is a nuisance; we disable it

GCC_GENERIC_CFLAGS= -g -Wall -Wextra -fdiagnostics-show-option -Wcast-align \
-Wswitch
-Wswitch -Wno-cast-function-type

all: build-node

Expand Down

0 comments on commit 27fc21a

Please sign in to comment.