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. -- Ed Schouten <[email protected]> _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
