Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: xsrc/external/mit/xorg-server/dist



They get compiled with c++ it seems and they get flagged as a duplicate typedef by clang. It is apparently legal to have multiple identical typedefs in c++11. See the previous build log for clang...

christos

> On Jan 23, 2019, at 7:30 PM, matthew green <mrg%eterna.com.au@localhost> wrote:
> 
> "Christos Zoulas" writes:
>> Module Name:    xsrc
>> Committed By:    christos
>> Date:        Tue Jan 22 20:25:45 UTC 2019
>> 
>> Modified Files:
>>    xsrc/external/mit/xorg-server/dist/glx: glxscreens.h
>>    xsrc/external/mit/xorg-server/dist/include: glx_extinit.h
>> 
>> Log Message:
>> protect dup typedef.
> 
> why this?
> 
> i thought they were supposed to be not both included, and
> isn't it legal in modern C anyway, that at least one of
> these files will be compiled with (glxscreens.h is not
> installed), so i'd never expect a problem to happen..
> 
> thanks.
> 
> 
> .mrg.



Home | Main Index | Thread Index | Old Index