Hi,

I'm trying to compile a program for arduino that relies on tgmath.h to pick
the right version of a function based on the types (the code is
automatically generated by another tool).

It's failing to compile with avr because tgmath.h is missing.

I thought it was part of the standard C distribution since C99 and thus I'd
be able to rely on it, but I'm no C expert. Does anyone know why it is not
included in avr-libc? Any advice?

I'm on Ubuntu 20.04, using:
avr-libc 2.0.0+Atmel3.6.2-1.1
gcc-avr 5.4.0+Atmel3.6.2-1
binutils-avr 2.26.20160125+Atmel-3.6.2-2

Thanks,

Ivan

Reply via email to