Is there any way to disable warning D9035?

M

mario

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
 
R

r norman

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)
 
H

Holger Grund

r norman said:
You mean something like
#pragma warning (disable: 9035)
There's no way to suppress command line warnings
(short of filtering the output).

-hg
 
B

Bruno van Dooren [MVP VC++]

For reasons that it would be long to explain, I need to use
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
(e-mail address removed)
Remove only "_nos_pam"
 
B

Bruno van Dooren [MVP VC++]

You mean something like
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
(e-mail address removed)
Remove only "_nos_pam"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top