Array data without GCC extension

Date view Thread view Subject view Author view

From: Parmelan, Edouard (EP510777@exchange.FRANCE.NCR.com)
Date: Mon Jan 18 1999 - 11:12:21 EST


Alexandre,
Godmar,

The following patch removes the usage of a GCC extension to align the
data field of all HArrayOfXXX. This field is now an union with the
array of the type (as before) and a double for alignment.

Finally, removing double align[0] for Array was not so difficult :)

It also remove the struct Array to not generate buggy programs.

Will I write these line I think the macro DEFINE_ARRAY_OF could break
external libraries as Arrays.h is an exported include :(
Could you changes this file with a no-macro one ?
I have switch back to NT for mail :(

Thanks,
Edouard.

----
 <<kaffe-array.diff>> 



Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:44 EDT