disabled formatcpp Wshadow warnings..
This commit is contained in:
parent
ed17c9a4a9
commit
5186aca671
@ -1,5 +1,5 @@
|
|||||||
CXX = g++
|
CXX = g++
|
||||||
CXXFLAGS = -march=native -Wall -Wextra -pedantic -std=c++11 -pthread -Wl,--no-as-needed -I../include
|
CXXFLAGS = -march=native -Wall -Wshadow -Wextra -pedantic -std=c++11 -pthread -Wl,--no-as-needed -I../include
|
||||||
CXX_RELEASE_FLAGS = -O3 -flto
|
CXX_RELEASE_FLAGS = -O3 -flto
|
||||||
CXX_DEBUG_FLAGS= -g
|
CXX_DEBUG_FLAGS= -g
|
||||||
|
|
||||||
|
@ -51,6 +51,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
// when using __extension__.
|
// when using __extension__.
|
||||||
# if FMT_GCC_VERSION >= 406
|
# if FMT_GCC_VERSION >= 406
|
||||||
# pragma GCC diagnostic push
|
# pragma GCC diagnostic push
|
||||||
|
# pragma GCC diagnostic ignored "-Wshadow"
|
||||||
# pragma GCC diagnostic ignored "-Wlong-long"
|
# pragma GCC diagnostic ignored "-Wlong-long"
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
@ -2592,4 +2593,4 @@ FMT_VARIADIC(int, fprintf, std::FILE *, StringRef)
|
|||||||
# include "format.cc"
|
# include "format.cc"
|
||||||
|
|
||||||
|
|
||||||
#endif // FMT_FORMAT_H_
|
#endif // FMT_FORMAT_H_
|
||||||
|
Loading…
Reference in New Issue
Block a user