Open aplund opened 3 years ago
I get a warning emitted about incompatible types withe an alias.
$ avr-gcc -c -mmcu=atmega328p -DF_CPU=16000000 -O -o usart.o usart.c usart.c:480:14: warning: 'uart0putc' alias between functions of incompatible types char(char)' and 'void(char)' [-Wattribute-alias=] 480 | char uart0putc(char data) attribute ((alias ("uart0_putc"))); // alias for uart_putc that returns passed argument unaffected by omitting any existent rule | ^~~ usart.c:315:14: note: aliased declaration here 315 | void uart0_putc(char data) | ^~~~~~
I'm not sure if this is due to something missing on my part.
I get a warning emitted about incompatible types withe an alias.
I'm not sure if this is due to something missing on my part.