Re: pragma warning



EggNChips wrote:
> "Jeff F" <not@xxxxxxxxxxxx> wrote in message
> news:OX7bW3xSFHA.3544@xxxxxxxxxxxxxxxxxxxxxxx
>> EggNChips wrote:
>>> Using Win98SE, VC6sp5,
>>>
>>> Keep getting the warning:
>>> C:\VC Programs\Presales\QuoteDetails.cpp(323) : warning C4700: local
>>> variable 'Status' used without having been initialized
>>>
>>> Even though I have #pragma warning ( disable : 4700 ) at the start
>>> of the function, this happens throughout my code. I don't like to
>>> have warnings.
>>>
>>> Am I missing something??????
>>
>> Yes, fix the problem it's warning about.
>>
>> Jeff Flinn
>>
>>
> thanks for the helpful post...............not. It is not an error,
> but a 'feature' of the particular function that I'm calling.

Perhaps you would like to show the context of that particular function call
and why having the existence of an un-initialized variable is a useful
feature.

Thanks,

Jeff Flinn


.



Relevant Pages

  • Re: OT: Massachusetts Verdict: MS Office Formats Out
    ... Tim wrote: ... >> When I use OpenOffice, and want to save something that I created using ... foolish warnings such as the above "All might not be safe" ... If they don't use any non-exportable feature in a document, ...
    (Fedora)
  • Re: pragma warning
    ... fix the problem it's warning about. ... >>> Jeff Flinn ... >> but a 'feature' of the particular function that I'm calling. ...
    (microsoft.public.vc.ide_general)
  • Re: Per-source CFLAGS
    ... > appended to the command line after the global CFLAGS. ... > I intend to use this feature for gdtoa, ... Do you need to turn off all warnings or just ones for non-broken ...
    (freebsd-arch)
  • Re: Turn off ALL warnings question?
    ... > feature of a macro? ... I always want to overwrite the current file but do not want to have ... > Set warnings feature but that does not include this message. ...
    (microsoft.public.access.externaldata)
  • Import Errors Table Messages
    ... but it would be a global setting that would turn ... all warnings off. ... In the Confirm section, unclick the items. ... Unless I can turn this feature off, ...
    (microsoft.public.access.externaldata)