Compilation with clang

2021-10-13 Thread Marian Buschsieweke
Hi together, parts of the avrlibc headers are not compatible with clang. (The use case is not to compile avrlibc itself with clang, but rather an application using a vanilla GCC compiled avrlibc.) However, the issues are not always trivial to fix. E.g. in avr/wdt.h there are several instances of

Re: Compilation with clang

2021-10-13 Thread Joerg Wunsch
As Marian Buschsieweke wrote: > parts of the avrlibc headers are not compatible with clang. (The use case is > not to compile avrlibc itself with clang, but rather an application using > a vanilla GCC compiled avrlibc.) However, the issues are not always trivial to > fix. I seem to remember someo