Skip to content
Snippets Groups Projects
Commit c04d7406 authored by MichelJuillard's avatar MichelJuillard
Browse files

add -Wno-unused-private-field

parent 3a5e7255
Branches
Tags
No related merge requests found
...@@ -43,7 +43,7 @@ esac ...@@ -43,7 +43,7 @@ esac
# Use C++ for testing headers # Use C++ for testing headers
AC_LANG([C++]) AC_LANG([C++])
AM_CXXFLAGS="-std=gnu++20 -Wall -Wno-dangling-else -Wextra -Wold-style-cast" AM_CXXFLAGS="-std=gnu++20 -Wall -Wno-dangling-else -Wextra -Wold-style-cast -Wno-unused-private-field"
AC_SUBST([AM_CXXFLAGS]) AC_SUBST([AM_CXXFLAGS])
# If default 'ar' is not available, try to find one with a host prefix (see ticket #145) # If default 'ar' is not available, try to find one with a host prefix (see ticket #145)
......
...@@ -66,7 +66,7 @@ EXTRA_DIST = \ ...@@ -66,7 +66,7 @@ EXTRA_DIST = \
$(BUILT_SOURCES) $(BUILT_SOURCES)
# The -I. is for <FlexLexer.h> # The -I. is for <FlexLexer.h>
dynare_preprocessor_CPPFLAGS = $(BOOST_CPPFLAGS) -I. -Wno-unused-private-field dynare_preprocessor_CPPFLAGS = $(BOOST_CPPFLAGS) -I.
dynare_preprocessor_LDFLAGS = $(AM_LDFLAGS) $(BOOST_LDFLAGS) dynare_preprocessor_LDFLAGS = $(AM_LDFLAGS) $(BOOST_LDFLAGS)
# -lpthread is no longer necessary for glibc ⩾ 2.34 (i.e. Debian “bookworm” 12) # -lpthread is no longer necessary for glibc ⩾ 2.34 (i.e. Debian “bookworm” 12)
dynare_preprocessor_LDADD = macro/libmacro.a -lpthread dynare_preprocessor_LDADD = macro/libmacro.a -lpthread
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment