Re: [PATCH] improve hack in src/base/TextException.h

From: Kinkie <gkinkie_at_gmail.com>
Date: Mon, 28 Feb 2011 07:44:39 +0100

>> Answer me this: GCC specific complaint, why not a GCC specific fix?
>
> The complaint is most likely not specific to GCC (i.e., there are
> probably other compilers that do or will produce the same "unused
> static" warning). The __attribute__ fix is definitely specific to GCC.

While I would like to close this thread as "solved fixed", I'd just
like to remark that since GCC is arguably the most widely used
compiler in the wild, its dialect is getting more and more adopted by
other compilers. For instance icc needs a very specific flag to be
present in order not to pretend to be gcc (e.g. not to pre-define the
__GNUC__ macro etc.).

-- 
    /kinkie
Received on Mon Feb 28 2011 - 06:44:46 MST

This archive was generated by hypermail 2.2.0 : Mon Feb 28 2011 - 12:00:07 MST