Bug#903709: atomic_init() and friends failing on clang

2018-08-08 Thread Peter Palfrader
severity 903709 important thanks On Fri, 13 Jul 2018, Peter Palfrader wrote: > Package: clang-6.0 > Version: 1:6.0.1-2 > Severity: normal > > Clang fails to compile the following snippet on (at least) amd64 and i386 > while gcc builds it: > > #include > void increment(atomic_size_t *arg) { >

Bug#903709: atomic_init() and friends failing on clang

2018-07-13 Thread Peter Palfrader
Package: clang-6.0 Version: 1:6.0.1-2 Severity: normal Clang fails to compile the following snippet on (at least) amd64 and i386 while gcc builds it: #include void increment(atomic_size_t *arg) { atomic_fetch_add(arg, 1); } Maybe something is fishy with the include paths, but it's not clear t