[cfe-commits] [PATCH] lib/Basic/Targets.cpp: __declspec(attr) should be provided on mingw as macro, alias of __attribute__.
geek4civic at gmail.com
Mon Mar 14 19:40:20 PDT 2011
Committed in r127655, with adding a comment.
On Tue, Mar 8, 2011 at 9:54 PM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:
> lib/Basic/Targets.cpp | 10 ++++++++--
> 1 files changed, 8 insertions(+), 2 deletions(-)
> On gcc on cygming, __declspec(attr) is always defined as
> __attribute__((attr)) regardless of -fms-extensions.
> (it seems gcc's cc1 would not understand __declspec)
> I am dubious __declspec might be provided as keyword w/o
> -fms-extensions, not sure.
> Please give me any comments, thank you.
More information about the cfe-commits