Re: use of qcmplx qsqrt qimag etc.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux