On Thu, 17 Dec 2009, Przemysław Czerpak wrote: hi,
> > g++ -DHB_OS_UNIXWARE -I. -I../../../../../include -D_SCO_DS -Wall -W > > -O3 -o expropt1.o -c ../../../expropt1.c > > ../../../expropt1.c: In function `struct HB_EXPR_ * > > hb_compExprNewNegate(HB_EXPR_ *, _HB_COMMON *)': > > ../../../expropt1.c:1066: integer constant out of range > 2. when g++ is used then in header files LLONG_MAX constant > is defined without LL suffix, i.e.: > #define LLONG_MAX 9223372036854775807 > instead of: > #define LLONG_MAX 9223372036854775807LL this is it, thanks. > In both cases it's not Harbour problem and if the results are correct > then you can ignore it. 2.95 is quite old version so I do not think > it should be reported to GCC authors but if it's the only port of GNUC > for SCO then you may want to do inform about it someone who manage it it's quite unlikely there's anyone left there :) i have manually corrected the above issue, now we got a bit further, but it's starting again with errors that i think ever should be there in the first place ( g++ -pthread -L../../../../../lib/unixware/gcc -o ../../../../../bin/unixware/gcc/hbpp hbpp.o -lhbnortl -lhbcommon -lm Undefined first referenced symbol in file std::exit(int) libhbnortl.a(nortl.o) UX:ld: ERROR: Symbol referencing errors. No output written to ../../../../../bin/unixware/gcc/hbpp wtf, no way this can be right) this is so creepy that i think i'll give up on g++ as a compiler for now. thanks for the hint, though, you teach me new stuff every day :) -- [-] mkdir /nonexistent _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour