[syslinux] [PATCH 3/5] installers: MSVC compatibility fixes

Pete Batard pete at akeo.ie
Mon Mar 7 06:01:41 PST 2016


On 2016.03.07 01:21, Shao Miller via Syslinux wrote:
> 3. Disable the Microsoft precision warning, since Syslinux does lots of
> this sort of thing.
>
> That last option seems pretty simple, without moving entirely from /W3
> to /W2.  Could that work?  (C4242)

Unfortunately, there are some warnings that Microsoft, in their great 
wisdom, decided that driver developers should not choose to ignore, and 
this is one of them...

/wd4242 (which is how you disable warnings in WDK), is one of the things 
I tried before going /W2, only to find that, unlike other warnings, 
which I double-checked you can actually silence with /wd (for instance 
/wd4018 --signed/unsigned mismatch-- can be disabled alright), this one 
could not be silenced.

Regards,

/Pete



More information about the Syslinux mailing list