Ah -std=c++17 is needed

pull/66/head
beiller 1 year ago
parent 07771aab81
commit ee36313770
No known key found for this signature in database
GPG Key ID: 5AC5D1B01D0E5D75

@ -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: |

@ -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…
Cancel
Save