[tools 2/2] Support for disabling and enabling warnings, handle warning number 2368
Nikolay Sivov
bunglehead at gmail.com
Tue Mar 22 23:25:17 CDT 2016
On 23.03.2016 1:16, Sergei Bolotov wrote:
> 22.03.2016, 22:39, "Nikolay Sivov" <bunglehead at gmail.com>:
>> Duplicate UUID is not a warning 2368, it's an error 2270.
>> Could you share a minimal idl you're using to test that?
>
> Calling midl on dlls/oleaut32/tests/test_tlb.idl produces this output:
> "midl\oleaut32.dll : warning MIDL2368 : error generating type library,
> ignored : Could not set UUID : nn (0x800288C6)". Adding
> "midl_pragma warning(disable: 2368)" in file suppress such output.
>
>
Why do we care about midl output? And even if there is a reason to,
parser support to ignore pragma is enough, so you don't need to actually
support warnings in widl. Is pedantic mode ever enabled explicitly when
building wine?
> --
> Regards,
> Bolotov Sergei
>
More information about the wine-devel
mailing list