celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bjoern Petri <bjoern.pe...@sundevil.de>
Subject __unused attribute on linux
Date Sun, 15 Feb 2015 18:39:43 GMT

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 for MacOS as well.  I already 
committed the according changes - can someone should shortly check 
whether the code still compiles on MacOS?

Regards,
   Bjoern

Mime
View raw message