Open myd7349 opened 8 years ago
Could you give more information about the environment in which you want to use libemf2svg?
Like the OS, the compiler used, which version of libc?
@kakwa My environment: MSYS2
$ gcc -v Using builtin specs。 COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-msys/4.9.2/lto-wrapper.exe Target:i686-pc-msys Configuration:/msys_scripts/gcc/src/gcc-4.9.2/configure --build=i686-pc-msys --prefix=/usr --libexecdir=/usr/lib --enable-bootstrap --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --with-arch=i686 --disable-multilib --disable-sjlj-exceptions --with-tune=generic --enable-__cxa_atexit --with-dwarf2 --enable-languages=c,c++,fortran,lto --enable-graphite --enable-threads=posix --enable-libatomic --enable-libgomp --disable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --disable-win32-registry --disable-symvers --with-gnu-ld --with-gnu-as --disable-isl-version-check --enable-checking=release --without-libiconv-prefix --without-libintl-prefix --with-system-zlib Thread:posix gcc version 4.9.2 (GCC)
atoi
is in stdlib.h
, does adding
#include <cstdlib>
at line 26 fix it ?
It seems that the using directive at the beginning of
src/conv/emf2svg.cpp
causes this error.