billyquith / ponder

C++ reflection library with Lua binding, and JSON and XML serialisation.
http://billyquith.github.io/ponder/
Other
642 stars 95 forks source link

Compile failed Ubuntu 14.04 - missing POSIX include #8

Closed davidthings closed 8 years ago

davidthings commented 8 years ago

I think util.cpp missing

#include <strings.h>

Since I get

[ 92%] Building CXX object CMakeFiles/ponder.dir/src/util.cpp.o
/home/david/ponder/src/util.cpp: In function ‘int ponder::detail::stricmp(const char*, const char*)’:
/home/david/ponder/src/util.cpp:50:24: error: ‘strcasecmp’ was not declared in this scope
  return strcasecmp(a, b);
                        ^
make[2]: *** [CMakeFiles/ponder.dir/src/util.cpp.o] Error 1
make[1]: *** [CMakeFiles/ponder.dir/all] Error 2
make: *** [all] Error 2
billyquith commented 8 years ago

Thanks. Pull request would be handy.