Skip to content

Commit

Permalink
Build requires C++14 (#11)
Browse files Browse the repository at this point in the history
Got a build error from capnp 0.8.0 telling me I need C++14. It built after changing this.
  • Loading branch information
drathier authored Apr 29, 2020
1 parent 716f888 commit 7a48c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CAPNP_CXX_FLAGS=-I $(CAPNP_PREFIX)/include -L $(CAPNP_PREFIX)/lib -lkj -lcapnp
endif

CXX=g++
CXX_FLAGS=-std=c++11 $(CAPNP_CXX_FLAGS)
CXX_FLAGS=-std=c++14 $(CAPNP_CXX_FLAGS)

CAPNPC_DLANG_SOURCES=compiler/src/main/cpp/capnpc-dlang.c++

Expand Down

0 comments on commit 7a48c3b

Please sign in to comment.