Error when compiling the examples in the released version 1.0.0
tetsuhaut opened this issue · 2 comments
tetsuhaut commented
Hi,
When trying to compile I had this error:
$ cmake -G "MinGW Makefiles" -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=./toto frozen-1.0.0
$ mingw32-make
[...]
C:\SOURCES\lib\frozen\frozen-1.0.0\examples\enum_to_string.cpp: In function 'int main()':
C:\SOURCES\lib\frozen\frozen-1.0.0\examples\enum_to_string.cpp:169:3: error: 'puts' was not declared in this scope
169 | puts(enum_to_string(RELOC_i386::R_386_8));
| ^~~~
[...]
It seems the file examples/enum_to_string.cpp misses some #includes.
tetsuhaut commented
Trying the master version it seems the error has been fixed. Great! Maybe you could do a patch release?
Thanks for your lib anyway :)
serge-sans-paille commented
1.0.1 tagged !