Enrico Tassi wrote:
> There is not API using long double, but there is some interesting
> message in the header file (the configuration one).
> 
> You probably know more than me about alignment in these archs...
> 
>   /*
>   @@ LUAI_USER_ALIGNMENT_T is a type that requires maximum alignment.
>   ** CHANGE it if your system requires alignments larger than double. (For
>   ** instance, if your system supports long doubles and they must be
>   ** aligned in 16-byte boundaries, then you should add long double in the
>   ** union.) Probably you do not need to change this.
>   */
>   #define LUAI_USER_ALIGNMENT_T   union { double u; void *s; long l; }

I don't think the macro should be changed because it will create a
binary incompatibility on those archs.

It seems like upstream should control use of long double in this struct
with a define, and set it for the linux build target.  Without this
standardization there will be a binary compatibility confusion mess in
the future.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to