[tex-live] further errors with graphite-engine

Jonathan Kew jonathan_kew at sil.org
Fri Mar 7 17:58:20 CET 2008


On 7 Mar 2008, at 1:34 pm, Peter Münster wrote:

> Hello Jonathan,
>
> I'm sorry, on the i586 machine, there are further errors. This time  
> I used
> the command "make -k world" to get all remaining errors. The output is
> attached.

Thanks, this is helpful. I've committed fixes for most of these, and  
passed them upstream. AFAIK, there will be one remaining issue:

  g++ -DPACKAGE_NAME=\"silgraphite\" -DPACKAGE_TARNAME=\"silgraphite 
\" -DPACKAGE_VERSION=\"2.3\" "-DPACKAGE_STRING=\"silgraphite 2.3\"" - 
DPACKAGE_BUGREPORT=\"silgraphite-devel at lists.sourceforge.net\" - 
DPACKAGE=\"silgraphite\" -DVERSION=\"2.3\" -DSTDC_HEADERS=1 - 
DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 - 
DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 - 
DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 - 
DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DSIZEOF_WCHAR_T=4 -DHAVE_FABSF=1 - 
I. -I../../../../libs/graphite-engine/src -I../../../../libs/graphite- 
engine/include/graphite -I../../../../libs/graphite-engine/src/ 
generic -I../../../../libs/graphite-engine/src/font -I../../../../ 
libs/graphite-engine/src/segment -g -O2 -DNDEBUG -Wall -Wno-unknown- 
pragmas -Wparentheses -Werror -DTRACING -O3 -DNDEBUG -MT Segment.lo - 
MD -MP -MF .deps/Segment.Tpo -c ../../../../libs/graphite-engine/src/ 
segment/Segment.cpp -o Segment.o
cc1plus: warnings being treated as errors
/usr/include/c++/4.3/bits/stl_algobase.h: In member function  
'gr::GrResult gr::Segment::getUniscribeClusters(int*, int, int*,  
bool*, int, int*)':
/usr/include/c++/4.3/bits/stl_algobase.h:193: error: assuming signed  
overflow does not occur when assuming that (X - c) > X is always false
/usr/include/c++/4.3/bits/stl_algobase.h:193: error: assuming signed  
overflow does not occur when assuming that (X + c) < X is always false
make[2]: *** [Segment.lo] Error 1


I'm not totally sure what's triggering this, but hope to get a newer  
compiler installed and look into it. What version of gcc do you have  
on that system? I don't see these errors with gcc 4.2.1 on Ubuntu.

Can you disable that warning, at least temporarily, to see if  
everything else will build OK?

JK



More information about the tex-live mailing list