[cfe-commits] [PATCH] lib/Basic/Targets.cpp: __declspec(attr) should be provided on mingw as macro, alias of __attribute__.

NAKAMURA Takumi geek4civic at gmail.com
Tue Mar 8 04:54:38 PST 2011


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

...Takumi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lib-Basic-Targets.cpp-__declspec-attr-should-be-.patch.txt
Type: text/x-patch
Size: 975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110308/514c4ce3/attachment.bin>


More information about the cfe-commits mailing list