This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, Modula-2 (C/C++/D/F/Go/Jit)] (Register spec fn) (v2)

Hi Gaius,

> Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
>> here are some initial issues.  I'll reply to Matthias' mail to expand on
>> other problems he's raised.
>> * First, the build broke like this:
>> /vol/gcc/src/hg/trunk/solaris/gcc/gm2/mc-boot/GRTint.c:57:30: error:
>> 'time' redeclared as different kind of symbol
>>    57 | typedef enum {input, output, time} VectorType;
>>       |                              ^~~~
>> In file included from /usr/include/time.h:12,
>>                  from /usr/include/sys/time.h:448,
>>                  from /usr/include/sys/select.h:27,
>>                  from /usr/include/sys/types.h:665,
>>                  from /usr/include/stdlib.h:22,
>>                  from /vol/gcc/src/hg/trunk/solaris/gcc/gm2/mc-boot/Glibc.h:15,
>>                  from /vol/gcc/src/hg/trunk/solaris/gcc/gm2/mc-boot/GRTint.c:42:
>> /usr/include/iso/time_iso.h:96:15: note: previous declaration of 'time' was here
>>    96 | extern time_t time(time_t *);
>>       |               ^~~~
> Hi Rainer,
> thanks for the bug report.  Now fixed in the git repro -
> the mc bootstrap tool now avoids 'time'.  Also fixed
> to allow parallel builds.

excellent, thanks.


Rainer Orth, Center for Biotechnology, Bielefeld University

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]