Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: general MSVC comments

Author: Uri Blass

Date: 01:20:54 11/06/02

Go up one level in this thread


On November 05, 2002 at 17:38:25, Brian Kostick wrote:

>On November 05, 2002 at 09:39:16, Uri Blass wrote:
>
>>I get for some reason the following warning at level warning 4 that I do not
>>understand.
>>
>>Compiling...
>>main.c
>>c:\program files\microsoft visual studio\vc98\include\rpcasync.h(45) : warning
>>C4115: '_RPC_ASYNC_STATE' : named type definition in parentheses
>>
>>main.obj - 0 error(s), 1 warning(s)
>>
>>
>>Note that this warning is not deterministic(when I compiled evaluate.c I did not
>>got the warning when I compiled main.c I got that warning and after it when I
>>compiled again evaluate.c I again got that warning.
>>
>>Uri
>
>Hello Uri,
>
>  You can click inside the output window where the warning/error messages
>appear. If you have the help system installed, click on the warning message, and
>press F1, sometimes :) you might get useful help.
>
>You can limit MSVC's (windows.h) use of extra header files with:
>#define WIN32_LEAN_AND_MEAN
>as the first code line of your files.
>
>Regards,
>BK

Thanks
It helps to get rid of the warning.

Uri



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.