argtable / argtable3

A single-file, ANSI C, command-line parsing library that parses GNU-style command-line options.
http://www.argtable.org
Other
377 stars 65 forks source link

Build error on Linux: ‘EOVERFLOW_’ undeclared #13

Closed imphil closed 7 years ago

imphil commented 7 years ago

steps to reproduce:

cd examples
make

output:

$ make
mkdir -p bin
gcc echo.c ../argtable3.c -I .. -o bin/echo
../argtable3.c: In function ‘arg_int_scanfn’:
../argtable3.c:2256:25: error: ‘EOVERFLOW_’ undeclared (first use in this function)
             errorcode = EOVERFLOW_;
                         ^
../argtable3.c:2256:25: note: each undeclared identifier is reported only once for each function it appears in
Makefile:61: recipe for target 'echo' failed
make: *** [echo] Error 1