WineHQ: PATCH to fix IPersistFile::Load() and associated functions

Vincent Béron vberon at mecano.gme.usherb.ca
Tue Oct 28 12:39:29 CST 2003


Le lun 27/10/2003 à 06:05, Mike McCormack a écrit :
> Hi Subhobroto,
> 
> Vincent Béron wrote:
> 
> >>     }
> >>+    //////////////////////////////////////////////////////////////////////////////////////
> >>+    char szTemp[MAX_PATH]={0};
> ...
> 
> > Please don't use // style comments. Not all C compilers accept them.
> 
> Please don't use any features of C++. The above variable declaration is 
> not valid C either (it needs to be at the start of a block).

Doesn't C99 support that?
Of course, older compilers don'tm, so it's best to avoid.

Vincent




More information about the wine-devel mailing list