Re: __unused attribute on linux

2015-02-16 Thread Alexander Broekhuis
Hi, Tested on my Mac, all seems to be ok, I'll use the GNU notation for other cases, though some online docs say __unused should work as well with GNU :S. Anyway, no problem! 2015-02-15 19:39 GMT+01:00 Bjoern Petri : > > Hi all, > > Specifying the unused attribute via "__unused" seems to not

__unused attribute on linux

2015-02-15 Thread Bjoern Petri
Hi all, Specifying the unused attribute via "__unused" seems to not work with my Linux gcc. According to https://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html, a different syntax should be used __attribute__((unused)). While this works for Linux, I have no idea whether this is fine fo