Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

terminate called after throwing an instance of 'std::regex_error' #7

Open
poiuty opened this issue Dec 16, 2014 · 1 comment
Open

Comments

@poiuty
Copy link

poiuty commented Dec 16, 2014

/vramfs# make
g++ -Wall -Wpedantic -Werror -std=c++11 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I include/ -march=native -O2 -flto -c -o build/util.o src/util.cpp
g++ -Wall -Wpedantic -Werror -std=c++11 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I include/ -march=native -O2 -flto -c -o build/memory.o src/memory.cpp
g++ -Wall -Wpedantic -Werror -std=c++11 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I include/ -march=native -O2 -flto -c -o build/entry.o src/entry.cpp
g++ -Wall -Wpedantic -Werror -std=c++11 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I include/ -march=native -O2 -flto -c -o build/file.o src/file.cpp
g++ -Wall -Wpedantic -Werror -std=c++11 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I include/ -march=native -O2 -flto -c -o build/dir.o src/dir.cpp
g++ -Wall -Wpedantic -Werror -std=c++11 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I include/ -march=native -O2 -flto -c -o build/symlink.o src/symlink.cpp
g++ -Wall -Wpedantic -Werror -std=c++11 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I include/ -march=native -O2 -flto -c -o build/vramfs.o src/vramfs.cpp
g++ -o bin/vramfs build/util.o build/memory.o build/entry.o build/file.o build/dir.o build/symlink.o build/vramfs.o -pthread -lfuse -l OpenCL

root@ubuntu:~/vramfs# bin/vramfs /tmp/vram 2G
terminate called after throwing an instance of 'std::regex_error'
what(): regex_error
Aborted

@Overv
Copy link
Owner

Overv commented Dec 16, 2014

You'll need to update to GCC 4.9. Alternatively, remove the regex check and hardcode the size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants