[tex-live] compilation error when compiling TeX Live on Windows 64 bits

Angelo Graziosi angelo.graziosi at alice.it
Sat Jul 9 16:22:23 CEST 2016


Ciao Martin,

Martin Gieseking wrote:
> As a quick workaround, it should be enough to rename dvisvgm's Process.h
> and to adapt the #includes in FileFinder.cpp, MetafontWrapper.cpp, and
> Process.cpp accordingly.

I have applied these suggestions and indeed they fix that build error, 
the build continues and then stops at:

[...]
mv -f $depbase.Tpo $depbase.Po
depbase=`echo error.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -Wreturn-type -Wno-unknown-pragmas -Wno-write-strings 
-DHAVE_CONFIG_H -I. 
-I../../../../../texk/lcdf-typetools/lcdf-typetools-src/liblcdf -I../.. 
-I../../../../../texk/lcdf-typetools/lcdf-typetools-src/liblcdf/../include 
-D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1  -march=x86-64 
-mtune=generic -O2 -pipe -MT error.o -MD -MP -MF $depbase.Tpo -c -o 
error.o 
../../../../../texk/lcdf-typetools/lcdf-typetools-src/liblcdf/error.cc &&\
mv -f $depbase.Tpo $depbase.Po
../../../../../texk/lcdf-typetools/lcdf-typetools-src/liblcdf/error.cc: 
In static member function 'static String ErrorHandler::vxformat(int, 
const char*, va_list)':
../../../../../texk/lcdf-typetools/lcdf-typetools-src/liblcdf/error.cc:684:37: 
error: cast from 'void*' to 'long unsigned int' loses precision 
[-fpermissive]
       s1 = do_number((unsigned long) v, (char*) s2, 16, flags);
                                      ^
depbase=`echo filename.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -Wreturn-type -Wno-unknown-pragmas -Wno-write-strings 
-DHAVE_CONFIG_H -I. 
-I../../../../../texk/lcdf-typetools/lcdf-typetools-src/liblcdf -I../.. 
-I../../../../../texk/lcdf-typetools/lcdf-typetools-src/liblcdf/../include 
-D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1  -march=x86-64 
-mtune=generic -O2 -pipe -MT filename.o -MD -MP -MF $depbase.Tpo -c -o 
filename.o 
../../../../../texk/lcdf-typetools/lcdf-typetools-src/liblcdf/filename.cc 
&&\
mv -f $depbase.Tpo $depbase.Po
make[6]: *** [Makefile:451: error.o] Error 1


Ciao,
  Angelo.


More information about the tex-live mailing list