----- Original Message ----- > From: "Ed Schouten" <[email protected]> > To: "David Chisnall" <[email protected]> > Cc: "Hal Finkel" <[email protected]>, "Tijl Coosemans" <[email protected]>, > "Richard Smith" <[email protected]>, > "cfe commits" <[email protected]> > Sent: Monday, September 22, 2014 4:48:29 AM > Subject: Re: [cfe-commits] C11 <stdatomic.h> > > On 21 September 2014 12:44, David Chisnall > <[email protected]> wrote: > > We currently have a situation in FreeBSD where several of the > > clang-provided headers are incompatible with the system headers, > > and I'd prefer to avoid adding to this. Our stdatomic.h is > > carefully designed to work with gcc 4.2.1, clang, and newer GCC, > > so we definitely wouldn't want to replace it with something > > clang-specific. Having clang provide a subset of the C standard > > headers, independent of the C library, is quite unhelpful to us. > > +1. It truly is unhelpful to us. It also prevents us from extending > these headers if ever needed. > > Would it be possible to come up with a solution where the headers > provided by Clang are only available if not shipped by the OS? Clang > would be free to ship with a copy of <stdatomic.h>, but as soon as > there is another copy in the include paths, that version would be > used > instead.
Understood. I suggested exactly this (http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20140915/115196.html). Does that work for you? Thanks again, Hal > > -- > Ed Schouten <[email protected]> > -- Hal Finkel Assistant Computational Scientist Leadership Computing Facility Argonne National Laboratory _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
