On Wed, 14 Apr 2010, Szak�ts Viktor wrote:

Hi,

> I've found these warning with recent Harbour versions, reported 
> by both MSVC 2008 and 2010:
> ---
> \harbour\src\compiler\obj\win\msvc\harboury.c(7035) : warning C4701: 
> potentially uninitialized local variable 'hb_complval' used
> \harbour\src\rtl\hbzlib.c(249) : warning C4701: potentially uninitialized 
> local variable 'pDest' used
> \harbour\src\rtl\hbzlib.c(249) : warning C4701: potentially uninitialized 
> local variable 'pDest' used
> \harbour\src\macro\obj\win\msvc\macroy.c(2996) : warning C4701: potentially 
> uninitialized local variable 'hb_macrolval' used
> \harbour\src\macro\obj\win\msvc\macroy.c(2996) : warning C4701: potentially 
> uninitialized local variable 'hb_macrolval' used
> \harbour\contrib\hbbz2\hbbz2.c(354) : warning C4701: potentially 
> uninitialized local variable 'pDest' used
> ---

All are false alarms.
I can pacify the warnings adding redundant initialization in
hbzlib.c and hbbz2.c but it will be hard to make something with
harboury. and macroy.c because it's code generated by bison.
I already use a little bit patched bison to generate our grammar
files so I can add some farther modification to pacify also above
MSVC warnings.

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to