[tex-live] Problem compiling older TL with newer gcc

Gerben Wierda Gerben.Wierda at rna.nl
Fri Jul 1 14:30:48 CEST 2005


My redistribution of TL/teTeX gives the user a choice between TL  
2003, 2004 and 2005 (devel). All so far have been compiled with gcc2  
on Mac OS X 10.2 (for backward compatibility).

I have been testing compilation of TL on Mac OS X 10.4 with gcc 4  
(and gcc 3.3) but while the source.development from  
@2005/05/16:09:30:00 (my current 2005 snapshot) compiles fine (and so  
does source.development from @2004/11/13:13:00:00, my 2004 base), the  
source @2003/09/23:21:00:00 does not compile with gcc-3.3 or gcc4. I  
get:

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -g -O2 -MT  
error.o -MD -MP -MF ".deps/error.Tpo" \
   -c -o error.o `test -f 'error.cc' || echo './'`error.cc; \
then mv -f ".deps/error.Tpo" ".deps/error.Po"; \
else rm -f ".deps/error.Tpo"; exit 1; \
fi
../include/lcdf/hashmap.hh: In member function 'V&  
_HashMap_iterator<K, V>::value() const':
../include/lcdf/hashmap.hh:109: error: '_hm' was not declared in this  
scope
../include/lcdf/hashmap.hh:109: error: '_pos' was not declared in  
this scope

I'd like to be able to keep providing this older version as an  
option. Any clue what I need to do to get this compiled with gcc3+?

G



More information about the tex-live mailing list