Ah -std=c++17 is needed
This commit is contained in:
parent
07771aab81
commit
ee36313770
2 changed files with 2 additions and 2 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
|||
- name: Dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install build-essential cmake
|
||||
sudo apt-get install build-essential
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
|
|
2
Makefile
2
Makefile
|
@ -31,7 +31,7 @@ endif
|
|||
#
|
||||
|
||||
CFLAGS = -I. -O3 -DNDEBUG -std=c11 -fPIC
|
||||
CXXFLAGS = -I. -Ideps/sentencepiece-0.1.97/src/ -O3 -DNDEBUG -std=c++11 -fPIC
|
||||
CXXFLAGS = -I. -Ideps/sentencepiece-0.1.97/src/ -O3 -DNDEBUG -std=c++17 -fPIC
|
||||
LDFLAGS =
|
||||
# OS specific
|
||||
# TODO: support Windows
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue