>Hi!
>For reasons that it would be long to explain, I need to use
[quoted text clipped - 7 lines]
>treated like an idiot by the compiler. Thus, is there any way
>to disable warning D9035? Or should I patch cl.exe? :D
You mean something like
#pragma warning (disable: 9035)
Holger Grund - 13 Aug 2006 18:38 GMT
>>cl : Command line warning D9035 : option 'QIfist' has been
>>deprecated and will be removed in a future release
[quoted text clipped - 5 lines]
> You mean something like
> #pragma warning (disable: 9035)
There's no way to suppress command line warnings
(short of filtering the output).
-hg
Bruno van Dooren [MVP VC++] - 13 Aug 2006 20:06 GMT
>>For reasons that it would be long to explain, I need to use
>>the option /QIfist in VC2005. This gives me the following
[quoted text clipped - 9 lines]
> You mean something like
> #pragma warning (disable: 9035)
AFAIK this only works for Cxxxx (compiler) type errors.
Tools errors are unaffected.

Signature
Kind regards,
Bruno van Dooren
bruno_nos_pam_van_dooren@hotmail.com
Remove only "_nos_pam"
r norman - 13 Aug 2006 20:18 GMT
>>>For reasons that it would be long to explain, I need to use
>>>the option /QIfist in VC2005. This gives me the following
[quoted text clipped - 12 lines]
>AFAIK this only works for Cxxxx (compiler) type errors.
>Tools errors are unaffected.
Sorry. Microsoft is just too clever for itself.
Bruno van Dooren [MVP VC++] - 14 Aug 2006 08:14 GMT
>>> You mean something like
>>> #pragma warning (disable: 9035)
[quoted text clipped - 3 lines]
>
> Sorry. Microsoft is just too clever for itself.
Yes and no.
#pragma warning is a compiler directive. i.e. it is only used during the
compilation process.
this is the same for other compilers like gcc.
Maybe they should have provided another switch for tool warnings though.
The reason they don't allow you to ignore the warning is that otherwise
you'd hide it, forget about it, and then suddenly discover that your code
does not compile anymore with a new VC release.
This way they encourage you to change your project so that you don't need
the switch anymore.

Signature
Kind regards,
Bruno van Dooren
bruno_nos_pam_van_dooren@hotmail.com
Remove only "_nos_pam"