On Mon, 23 Mar 2009, Szak�ts Viktor wrote:

Hi,

> > 2009-03-22 18:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
> >  * harbour/include/hbstack.h
> >    * added alternative asm inline function to __MINGW32__ builds which
> >      operates on 64bit pointers. It's used when __MINGW64__ macro is
> >      defined. I do not know if such macro existing in 64bit MinGW version.
> Thanks, and yes, __MINGW64__ is the way to detect MinGW64.

Fine,
Can it cleanly compile it now?
It should fix this errors:
   Temp/ccVJXjZS.s:19: Error: Incorrect register `%rax' used with `l' suffix
   Temp/ccVJXjZS.s:20: Error: `0x0e10(%rax,%ecx,4)' is not a valid base/index 
expression

For this ones:
   ../../hbprintf.c:1067: warning: implicit declaration of function 'finite'
   ../../itemapi.c:2159: warning: implicit declaration of function 'finite'
look at MinGW64 header files and check if it has finite() function declared
somewhere.
If not then look for corresponding functions with the same functionality,
f.e. C99 functions: isfinite()/isnan()/isinf().
Probably it will have at least isfinite(). In such case add to this #if
#  if defined(__RSXNT__) || defined(__EMX__) || \
      defined(__XCC__) || defined(__POCC__) || \
      defined(HB_OS_HPUX)
#     define hb_isfinite( d )       isfinite( d )

also: || defined(__MINGW64__)

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to