Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / August 2006

Tip: Looking for answers? Try searching our database.

Is there any way to disable warning D9035?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mario@spamnotme.it - 13 Aug 2006 16:03 GMT
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 norman - 13 Aug 2006 17:23 GMT
>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"


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.