Skip to content
Permalink
Browse files

Undo change for realloc-lhs

  • Loading branch information
mkrack committed Jan 13, 2020
1 parent 556f566 commit 922f2e1bb1e1d9e453320096a196ca79d4b394e6
@@ -32,11 +32,10 @@ DFLAGS += -D__MPI_VERSION=3 -D__PLUMED2 -D__SPGLIB
DFLAGS += -D__parallel -D__SCALAPACK
DFLAGS += -D__CHECK_DIAG

WFLAGS = -Wrealloc-lhs
WFLAGS += -Werror=aliasing -Werror=ampersand -Werror=c-binding-type
WFLAGS = -Werror=aliasing -Werror=ampersand -Werror=c-binding-type
WFLAGS += -Werror=conversion -Werror=intrinsic-shadow -Werror=intrinsics-std
WFLAGS += -Werror=line-truncation -Werror=tabs -Werror=target-lifetime
WFLAGS += -Werror=underflow -Werror=unused-but-set-variable
WFLAGS += -Werror=line-truncation -Werror=realloc-lhs -Werror=tabs
WFLAGS += -Werror=target-lifetime -Werror=underflow -Werror=unused-but-set-variable
WFLAGS += -Werror=unused-dummy-argument -Werror=unused-variable

FCFLAGS = $(CFLAGS) $(DFLAGS) $(WFLAGS)
@@ -32,11 +32,10 @@ DFLAGS += -D__MPI_VERSION=3 -D__PLUMED2 -D__SPGLIB
DFLAGS += -D__parallel -D__SCALAPACK
DFLAGS += -D__CHECK_DIAG

WFLAGS = -Wrealloc-lhs
WFLAGS += -Werror=aliasing -Werror=ampersand -Werror=c-binding-type
WFLAGS = -Werror=aliasing -Werror=ampersand -Werror=c-binding-type
WFLAGS += -Werror=conversion -Werror=intrinsic-shadow -Werror=intrinsics-std
WFLAGS += -Werror=line-truncation -Werror=tabs -Werror=target-lifetime
WFLAGS += -Werror=underflow -Werror=unused-but-set-variable
WFLAGS += -Werror=line-truncation -Werror=realloc-lhs -Werror=tabs
WFLAGS += -Werror=target-lifetime -Werror=underflow -Werror=unused-but-set-variable
WFLAGS += -Werror=unused-dummy-argument -Werror=unused-variable

FCFLAGS = $(CFLAGS) $(DFLAGS) $(WFLAGS)
@@ -22,11 +22,10 @@ CFLAGS = -O1 -g -mtune=generic

DFLAGS = -D__FFTW3 -D__LIBINT -D__LIBXC -D__SPGLIB -D__CHECK_DIAG

WFLAGS = -Wrealloc-lhs
WFLAGS += -Werror=aliasing -Werror=ampersand -Werror=c-binding-type
WFLAGS = -Werror=aliasing -Werror=ampersand -Werror=c-binding-type
WFLAGS += -Werror=conversion -Werror=intrinsic-shadow -Werror=intrinsics-std
WFLAGS += -Werror=line-truncation -Werror=tabs -Werror=target-lifetime
WFLAGS += -Werror=underflow -Werror=unused-but-set-variable
WFLAGS += -Werror=line-truncation -Werror=realloc-lhs -Werror=tabs
WFLAGS += -Werror=target-lifetime -Werror=underflow -Werror=unused-but-set-variable
WFLAGS += -Werror=unused-dummy-argument -Werror=unused-variable

FCFLAGS = $(CFLAGS) $(DFLAGS) $(WFLAGS)
@@ -22,11 +22,10 @@ CFLAGS = -O1 -g -mtune=generic

DFLAGS = -D__FFTW3 -D__LIBINT -D__LIBXC -D__SPGLIB -D__CHECK_DIAG

WFLAGS = -Wrealloc-lhs
WFLAGS += -Werror=aliasing -Werror=ampersand -Werror=c-binding-type
WFLAGS = -Werror=aliasing -Werror=ampersand -Werror=c-binding-type
WFLAGS += -Werror=conversion -Werror=intrinsic-shadow -Werror=intrinsics-std
WFLAGS += -Werror=line-truncation -Werror=tabs -Werror=target-lifetime
WFLAGS += -Werror=underflow -Werror=unused-but-set-variable
WFLAGS += -Werror=line-truncation -Werror=realloc-lhs -Werror=tabs
WFLAGS += -Werror=target-lifetime -Werror=underflow -Werror=unused-but-set-variable
WFLAGS += -Werror=unused-dummy-argument -Werror=unused-variable

FCFLAGS = $(CFLAGS) $(DFLAGS) $(WFLAGS)

0 comments on commit 922f2e1

Please sign in to comment.
You can’t perform that action at this time.