themighty1 / lpfw

Linux Personal Firewall
113 stars 22 forks source link

fatal-errors #42

Closed mahdi-ln closed 4 years ago

mahdi-ln commented 5 years ago
~/Downloads/lpfw-master$ make
g++ -g -fpermissive -std=c++11 -Wfatal-errors -c sha256/sha256.c
g++ -g -fpermissive -std=c++11 -Wfatal-errors -c base64.cpp
g++ -g -fpermissive -std=c++11 -Wfatal-errors -c conntrack.c
g++ -g -fpermissive -std=c++11 -Wfatal-errors -c testmain.cpp
g++ -g -fpermissive -std=c++11 -Wfatal-errors -c argtable/argtable2.c
argtable/argtable2.c: In function ‘void arg_print_formatted(FILE*, unsigned int, unsigned int, const char*)’:
argtable/argtable2.c:974:17: error: ‘isspace’ was not declared in this scope
         while ( isspace(*(text+line_start)) )
                 ^~~~~~~
compilation terminated due to -Wfatal-errors.
Makefile:19: recipe for target 'argtable2.o' failed
make: *** [argtable2.o] Error 1
licaon-kter commented 5 years ago

Detail you OS, compiler version, etc

mahdi-ln commented 5 years ago

(note I'm amateur) Ubuntu 18.04 64x g++ was 7 And with g++ 6:

$ make
g++ -g -fpermissive -std=c++11 -Wfatal-errors -c sha256/sha256.c
g++ -g -fpermissive -std=c++11 -Wfatal-errors -c base64.cpp
g++ -g -fpermissive -std=c++11 -Wfatal-errors -c conntrack.c
g++ -g -fpermissive -std=c++11 -Wfatal-errors -c testmain.cpp
g++ -g -fpermissive -std=c++11 -Wfatal-errors -c argtable/argtable2.c
argtable/argtable2.c: In function ‘void arg_print_formatted(FILE*, unsigned int, unsigned int, const char*)’:
argtable/argtable2.c:974:43: error: ‘isspace’ was not declared in this scope
         while ( isspace(*(text+line_start)) )
                                           ^
compilation terminated due to -Wfatal-errors.
Makefile:19: recipe for target 'argtable2.o' failed
make: *** [argtable2.o] Error 1
cspack77 commented 5 years ago

Same error here. Arch Linux, gcc 8.2.1

jadolg commented 5 years ago

anyone fixed this?

planetRocker commented 4 years ago

alternative firewall ? i cannot find a working commercial version