This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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] | |
On Feb 23 11:17, Corinna Vinschen wrote: > On Feb 23 08:13, Sebastian Huber wrote: > > This file worked before GCC shipped its own stdatomic.h. You should use the > > GCC provided stdatomic.h. Maybe we should remove the stdatomic.h from > > Newlib. > > We should continue to provide it for older GCC versions. We could > do something like > > #if __GNUC_PREREQ__(X,Y) > #undef _STDATOMIC_H_ The undef is apparently not even required. GCC uses _STDATOMIC_H without trailing underscore. > #include_next <stdatomic.h> > #else > [rest of our own stdatomic.h] > #endif > > X.Y would be the 1st gcc version providing its own stdatomic.h Corinna -- Corinna Vinschen Cygwin Maintainer Red Hat
Attachment:
signature.asc
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |