472,127 Members | 1,560 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

Is there any way to disable warning D9035?


Hi!
For reasons that it would be long to explain, I need to use
the option /QIfist in VC2005. This gives me the following
warning whenever I compile:

cl : Command line warning D9035 : option 'QIfist' has been
deprecated and will be removed in a future release

I "think" I really got it now, and it's quite annoying to be
treated like an idiot by the compiler. Thus, is there any way
to disable warning D9035? Or should I patch cl.exe? :D

Thanks a lot,
Mario

Aug 13 '06 #1
5 9530
On 13 Aug 2006 15:03:48 GMT, ma***@spamnotme.it wrote:
>
Hi!
For reasons that it would be long to explain, I need to use
the option /QIfist in VC2005. This gives me the following
warning whenever I compile:

cl : Command line warning D9035 : option 'QIfist' has been
deprecated and will be removed in a future release

I "think" I really got it now, and it's quite annoying to be
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)
Aug 13 '06 #2
"r norman" <NotMyRealEmail@_comcast.netwrote
>>cl : Command line warning D9035 : option 'QIfist' has been
deprecated and will be removed in a future release

I "think" I really got it now, and it's quite annoying to be
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)
There's no way to suppress command line warnings
(short of filtering the output).

-hg
Aug 13 '06 #3
>>For reasons that it would be long to explain, I need to use
>>the option /QIfist in VC2005. This gives me the following
warning whenever I compile:

cl : Command line warning D9035 : option 'QIfist' has been
deprecated and will be removed in a future release

I "think" I really got it now, and it's quite annoying to be
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)
AFAIK this only works for Cxxxx (compiler) type errors.
Tools errors are unaffected.

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
Aug 13 '06 #4
On Sun, 13 Aug 2006 21:06:59 +0200, "Bruno van Dooren [MVP VC++]"
<br**********************@hotmail.comwrote:
>>>For reasons that it would be long to explain, I need to use
the option /QIfist in VC2005. This gives me the following
warning whenever I compile:

cl : Command line warning D9035 : option 'QIfist' has been
deprecated and will be removed in a future release

I "think" I really got it now, and it's quite annoying to be
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)

AFAIK this only works for Cxxxx (compiler) type errors.
Tools errors are unaffected.
Sorry. Microsoft is just too clever for itself.
Aug 13 '06 #5
>>You mean something like
>> #pragma warning (disable: 9035)

AFAIK this only works for Cxxxx (compiler) type errors.
Tools errors are unaffected.

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.

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
Aug 14 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Jason Heyes | last post: by
5 posts views Thread by Jason Heyes | last post: by
2 posts views Thread by joedsilva | last post: by
2 posts views Thread by Mike Nooney | last post: by
2 posts views Thread by O.B. | last post: by
10 posts views Thread by Gary Jefferson | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.