Compilation error Clang + AVR: '= w' in asm

I got the error above and I did not find a solution. Does anyone know how to solve this?

rafael@ubuntu:~/avr/projeto$ clang -fsyntax-only -Os -I /usr/lib/avr/include -D__AVR_ATmega328P__ -DARDUINO=100 -Wno-ignored-attributes -Wno-attributes serial_tree.c
In file included from serial_tree.c:3:
In file included from /usr/lib/avr/include/util/delay.h:43:
/usr/lib/avr/include/util/delay_basic.h:108:5: error: invalid output
constraint
      '=w' in asm
                : "=w" (__count)
                  ^
1 error generated.
+4
source share

All Articles