Is there any way to disable warning D9035?

  • Thread starter Thread starter mario
  • Start date Start date
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
 
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)
 
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
 
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"
 
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"
 
Back
Top