use of qcmplx qsqrt qimag etc.
penava_b
bastien.penavayre@epitech.eu
Mon Apr 11 20:37:00 GMT 2016
Hi,
1) I don't know
2) Instead of replacing each call to those functions with the new ones, you
can use the alias attribute as follow :
#define replace_func(old_name, new_name) __typeof__(old_name) new_name
__attribute__((weak, alias(#old_name)))
replace_func(cmplx, qcmplx);
...
You put this in a header file and you're done.
--
View this message in context: http://gcc.1065356.n5.nabble.com/use-of-qcmplx-qsqrt-qimag-etc-tp1253416p1253476.html
Sent from the gcc - Help mailing list archive at Nabble.com.
More information about the Gcc-help
mailing list