GDC with later DMD's

Anders F Björklund afb at algonet.se
Sat Apr 29 15:39:45 PDT 2006


Gregor Richards wrote:

>> Will run some diffs and then try to compile this for the Mac.
> 
> That'd be awesome.

Ran into some kind of error with "gcc/d/dmd/expression.c":
{standard input}:26:FATAL:Symbol __ZN10IntegerExp1tE already defined.

# echo __ZN10IntegerExp1tE | c++filt
IntegerExp::t

And the root of the error seems to be the "integer_t" type:

In file included from /usr/include/mach/machine/vm_types.h:27,
                  from /usr/include/mach/vm_statistics.h:63,
                  from /usr/include/mach/host_info.h:62,
                  from /usr/include/mach/mach_types.h:66,
                  from /usr/include/pthread.h:66,
                  from 
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:37,
                  from 
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr.h:98,
                  from 
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:37,
                  from /usr/include/gcc/darwin/3.3/c++/bits/fpos.h:44,
                  from /usr/include/gcc/darwin/3.3/c++/iosfwd:49,
                  from /usr/include/gcc/darwin/3.3/c++/ios:44,
                  from /usr/include/gcc/darwin/3.3/c++/istream:44,
                  from /usr/include/gcc/darwin/3.3/c++/sstream:44,
                  from /usr/include/gcc/darwin/3.3/c++/complex:51,
                  from 
/usr/include/gcc/darwin/3.3/c++/backward/complex.h:32,
                  from ../../gcc/d/dmd/expression.c:23:
/usr/include/mach/ppc/vm_types.h:86: error: conflicting types for 
`typedef int integer_t'
../../gcc/d/dmd/mars.h:146: error: previous declaration as `typedef long 
long unsigned int integer_t'


--anders



More information about the D.gnu mailing list