Well - 4.7.1 does not build:
../../gcc/d/d-lang.cc: In function ‘void
d_write_global_declarations()’:
../../gcc/d/d-lang.cc:687:32: error:
‘finalize_compilation_unit’ was not declared in this scope
make[2]: *** [d/d-lang.glue.o] Error 1
make[2]: *** Waiting for unfinished jobs....
../../gcc/d/d-decls.cc: In member function ‘virtual Symbol*
VarDeclaration::toSymbol()’:
../../gcc/d/d-decls.cc:326:68: error:
‘decl_default_tls_model’ was not declared in this scope
../../gcc/d/d-decls.cc: At global scope:
../../gcc/d/d-decls.cc:1004:1: warning: unused parameter
‘func’ [-Wunused-parameter]
../../gcc/d/d-decls.cc:1004:1: warning: unused parameter
‘flags’ [-Wunused-parameter]
make[2]: *** [d/d-decls.glue.o] Error 1
rm gcc.pod
make[2]: Leaving directory `/root/gdc/dev/gcc-4.7.1/objdir/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/root/gdc/dev/gcc-4.7.1/objdir'
make: *** [all] Error 2
On Friday, 6 July 2012 at 07:21:45 UTC, Iain Buclaw wrote:
On 6 July 2012 02:14, Alex Rønne Petersen <a...@lycus.org>
wrote:
On 06-07-2012 00:39, Timofei Bolshakov wrote:
I have the same problem ...
Using the wrong GCC version. I've removed all backwards
compatibility
Do you mean I need 4.6.2?
You need 4.7 at the very least. Preferably 4.8.
I think I'll need to push a temp patch for 4.7.x compat, there
has
been at least one function renamed during the 4.8 development
process
that I'll need to add an ifdef conditional for.