Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Will gcc catch that? The GCC compiler knows about "printf" as a special case. But "Serial.printf" may not have a definition with the annotation GCC needs to check parameters.


also avr-gcc is several major versions behind, isn't it?


Since it's using the String class, this is likely not being compiled by avr-gcc. Or at least I hope OP isn't being so masochistic as to try to use String on a Mega328.


you're right, it turns out it's an esp32




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: