commit: 447434ccc17805f57a2387e747bf7f0d7a181cde
parent 9c76588e8bf8d6d7c3892b76d9d6e8c639f5508a
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 22 Mar 2024 19:59:27 +0100
src/Makefile: Add -std=c++14
Need std::shared_ptr from C++11
Need std::auto_ptr which got removed in C++17
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile b/src/Makefile
@@ -16,7 +16,7 @@ calc.cpp: calc.yy
bison -y calc.yy && mv y.tab.c calc.cpp
$(OBJS): %.o: %.cpp
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c $< -o $@
+ $(CXX) -std=c++14 $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c $< -o $@
doxy:
doxygen