celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Broekhuis <a.broekh...@gmail.com>
Subject Re: __unused attribute on linux
Date Mon, 16 Feb 2015 20:28:35 GMT
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 <bjoern.petri@sundevil.de>:

>
> 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
>



-- 
Met vriendelijke groet,

Alexander Broekhuis

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message