Skip to content

Commit 51d1e0c

Browse files
authored
add c++11 standard
1 parent c8df0fb commit 51d1e0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chapter09/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ listings: config_structure.lst phonebook.lst
4242
cat -n $^ > $@
4343

4444
config_structure: config_structure.c
45-
$(CXX) -o config_structure config_structure.c -lpmemkv
45+
$(CXX) -std=c++11 -o config_structure config_structure.c -lpmemkv
4646

4747
phonebook: phonebook.cpp
48-
$(CXX) -o phonebook phonebook.cpp -lpmemkv
48+
$(CXX) -std=c++11 -o phonebook phonebook.cpp -lpmemkv
4949

5050
clean:
5151
$(RM) *.o core a.out

0 commit comments

Comments
 (0)