On 4 November 2013 10:15, Timo Sintonen <t.sintonen@luukku.com> wrote:
I tried to build gdc with the latest heads of gcc and gdc
Lots of warnings along the build and the it stops here:

../../gcc/gcc/d/d-objfile.cc:2031:52: error: no matching function for call to 'symtab_node::symtab_node(cgraph_node*&)'
     symtab_add_to_same_comdat_group ((symtab_node) thunk_node,
                                                    ^
../../gcc/gcc/d/d-objfile.cc:2031:52: note: candidates are:
In file included from ../../gcc/gcc/d/d-system.h:47:0,
                 from ../../gcc/gcc/d/d-objfile.cc:18:
../../gcc/gcc/cgraph.h:44:3: note: symtab_node::symtab_node()
   symtab_node
   ^
../../gcc/gcc/cgraph.h:44:3: note:   candidate expects 0 arguments, 1 provided
../../gcc/gcc/cgraph.h:44:3: note: symtab_node::symtab_node(const symtab_node&)
../../gcc/gcc/cgraph.h:44:3: note:   no known conversion for argument 1 from 'cgraph_node*' to 'const symtab_node&'

I want the latest version because I found there may be something wrong with inlining/optimization in my current arm compiler


For the time being, use gcc-4.9-20131013.tar.bz2 snapshot - that is the last build I've done here (currently all my time is being used up on D 2.064).

Feel free to send patches though (see this two line change here: http://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=02774f2d493655713721ceef4ebfd7d0c8fb1d8d;hp=2043dfcce183f27ffe84a339da8b75aec20d3c33#patch21 ). :-)


Regards
--
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';