Skip to content

Commit

Permalink
Fixes gcc-11 compatibility issue. (#594)
Browse files Browse the repository at this point in the history
Due to a source code problem in the GTEST package that we depend on we have to disable a warning when compiling a given source file with g++-11.

* Fixes gcc-11 compatibility issue.
  • Loading branch information
balazsracz authored Dec 27, 2021
1 parent 24b5afa commit 83b7624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/core_test.mk
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ $(TESTOBJS): %.test.o : $(SRCDIR)/%.cxxtest
$(CXX) $(CXXFLAGS) -MD -MF $*.dtest -x c++ $< -o $@

gtest-all.o : %.o : $(GTESTSRCPATH)/src/%.cc
$(CXX) $(CXXFLAGS) -I$(GTESTPATH) -I$(GTESTSRCPATH) -MD -MF $*.d $< -o $@
$(CXX) $(CXXFLAGS) -Wno-uninitialized -I$(GTESTPATH) -I$(GTESTSRCPATH) -MD -MF $*.d $< -o $@

gmock-all.o : %.o : $(GMOCKSRCPATH)/src/%.cc
$(CXX) $(CXXFLAGS) -I$(GMOCKPATH) -I$(GMOCKSRCPATH) -MD -MF $*.d $< -o $@
Expand Down

0 comments on commit 83b7624

Please sign in to comment.