Current-Users archive

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

Re: build failure: xf86Opt.h:44:14: error: declaration does not declare anything



In article <20160922202313.8FD2C30285C%ren.fdy2.co.uk@localhost>,
Robert Swindells  <rjs%fdy2.co.uk@localhost> wrote:
>
>bch <brad.harder%gmail.com@localhost> wrote:
>>On 9/19/16, bch <brad.harder%gmail.com@localhost> wrote:
>>
>>This is still a thing for me:
>
>[snip]
>
>>Is nobody else seeing this ? I usually do builds:
>
>No, I did an update build this morning for amd64.
>
>># ./build.sh -j4 -u -x distribution
>>
>>...but to try to fix the Bool bool problem deleted the offending header
>>file, made sure src was up-to-date, and omitted the -u to rebuild
>>all the objs from scratch. Still no good luck.
>
>Did you delete your object and destination trees after the switch in
>Xorg server version ?
>
The problem happens if you include <stdbool.h> before the x header.
It typically does not happen, but bool is defined to _Bool so you
lose. I think that Xorg should rename it.

christos



Home | Main Index | Thread Index | Old Index