On Wed, 09 Dec 2009, David Arturo Macias Corona wrote:

Hi,


> I made tests with
>  * $Id: ChangeLog 13162 2009-12-08 03:08:08Z druzus $
>  2009-12-08 04:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
> and new os2gcc434, os2gcc442
> Both gave 0 errors and lot of warnings which does not happen in os2gcc433
> Warnings are below, so you can confirm if they must be cleared or not

There are two types of warnings only.

> gcc   -I. -I../../../../../include -Zomf -Wall -W -O3  -DHB_HAS_PCRE
> -IE:/harbour912/harbour/external/pcre -DPCRE_STATIC -DHB_HAS_ZLIB
> -IE:/harbour912/harbour/external/zlib -DTCPV40HDRS
> -DHB_FM_STATISTICS_OFF -ohbsocket.o -c ../../../hbsocket.c
> E:/usr/include/386/endian.h: Assembler messages:
> E:/usr/include/386/endian.h:118: Warning: line numbers must be positive;
> line number 0 rejected
> E:/usr/include/386/endian.h:118: Warning: line numbers must be positive;
> line number 0 rejected

I can only guess that someone left some wrong assert code in GCC
source which generates this warning when line number if 0 and it's
exploited by some type of code like inline assembler. Anyhow it's
not Harbour problem but should it be reported to GCC-OS2 port authors.
We cannot fix it.

> gcc   -I. -I../../../../../include -Zomf -Wall -W -O3  -DHB_HAS_PCRE
> -IE:/harbour912/harbour/external/pcre -DPCRE_STATIC -DHB_HAS_ZLIB
> -IE:/harbour912/harbour/external/zlib -DTCPV40HDRS
> -DHB_FM_STATISTICS_OFF -ofilesys.o -c ../../../filesys.c
> ../../../filesys.c: In function 'hb_fsSetFileTime':
> ../../../filesys.c:1161: warning: 'ftime.twosecs' may be used
> uninitialized in this function
> ../../../filesys.c:1161: warning: 'ftime.minutes' may be used
> uninitialized in this function
> ../../../filesys.c:1161: warning: 'ftime.hours' may be used
> uninitialized in this function

This is false alarm but I'll change the code to pacify these warnings.
Thank you for information.

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