On Wed, Apr 3, 2013 at 5:20 PM, Argyrios Kyrtzidis <[email protected]>wrote:

> On Apr 3, 2013, at 12:44 PM, Reid Kleckner <[email protected]> wrote:
>
> Nice!  I've also observed redefinition warnings from clang in various
> winsock headers that might require more work.
>
> I see things like:
> #define SOME_CONSTANT (ULONG)0xffff
> ...
> #define SOME_CONSTANT (u_long)0xffff
>
> We may want to avoid warning on that.  Or I could adjust my flags so that
> the winsock headers become "system" headers and the warning is suppressed.
>
>
> Does MSVC not warn for these ?
>

I believe not, but it may be hitting a different pre-processor path or
using one of their pragma warning push/pops to disable it.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to