Re: [Harbour] porting help needed again

2009-12-14 Thread Przemysław Czerpak
On Tue, 15 Dec 2009, Tamas TEVESZ wrote:

Hi,

> g++   -DHB_OS_UNIXWARE -I. -I../../../../../include -D_SCO_DS -Wall -W -O3   
> -o expropt1.o -c ../../../expropt1.c
> In file included from ../../../../../include/hbvmpub.h:56,
>  from ../../../../../include/hbapi.h:61,
>  from ../../../../../include/hbcompdf.h:57,
>  from ../../../../../include/hbmacro.h:62,
>  from ../../../expropt1.c:58:
> ../../../../../include/hbdefs.h:1624: multiple storage classes in declaration 
> of `PHB_FUNC'
> ../../../../../include/hbdefs.h:1625: multiple storage classes in declaration 
> of `HB_FUNC_PTR'
> ../../../expropt1.c: In function `struct HB_EXPR_ * 
> hb_compExprNewNegate(HB_EXPR_ *, _HB_COMMON *)':
> happens only with g++ (2.95), not with gcc or the native c/c++ 
> compiler.

It's the same problem as in borland builds.
I tested that it also in my RH7.3.
I'll add workaround for gcc2 in a while.

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


[Harbour] porting help needed again

2009-12-14 Thread Tamas TEVESZ

hi,

got this:

g++   -DHB_OS_UNIXWARE -I. -I../../../../../include -D_SCO_DS -Wall -W -O3   -o 
expropt1.o -c ../../../expropt1.c
In file included from ../../../../../include/hbvmpub.h:56,
 from ../../../../../include/hbapi.h:61,
 from ../../../../../include/hbcompdf.h:57,
 from ../../../../../include/hbmacro.h:62,
 from ../../../expropt1.c:58:
../../../../../include/hbdefs.h:1624: multiple storage classes in declaration 
of `PHB_FUNC'
../../../../../include/hbdefs.h:1625: multiple storage classes in declaration 
of `HB_FUNC_PTR'
../../../expropt1.c: In function `struct HB_EXPR_ * 
hb_compExprNewNegate(HB_EXPR_ *, _HB_COMMON *)':
../../../expropt1.c:1066: integer constant out of range
gmake[3]: *** [expropt1.o] Error 1

happens only with g++ (2.95), not with gcc or the native c/c++ 
compiler.

now i know i've seen this before, but in a momentary lapse of sanity 
that's been going on for several days now i can't for the life of me 
recall or figure out where where to attack this.

bring the cluesticks!

-- 
[-]

mkdir /nonexistent
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour