[cfe-dev] __declspec(dllimport) strangeness

Anton Korobeynikov anton at korobeynikov.info
Sat Dec 4 23:49:59 PST 2010


> That's just weird. One has to wonder if it's by design. Is clang to be
> bug-for-bug compatible with the MS compiler for these MS-specific
> extensions? IMO, it would be better if this were an error.
It depends whether such sort of thing can be seen in system
(MS-provided) headers.
If yes, then such an error should be relaxed to MS-provided compiler
implementation.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the cfe-dev mailing list