Martin Liddle wrote:
I am continuing to struggle with some code that compiles and runs as intended using gpc-20020502 based on gcc 2.95.2 that I am now trying to get it running with gpc-20060325 based on gcc-3.4.4.
It appears the packing of records has changed. The following test program produces different answers with the different compilers
<snip>
Is there a command line option for gpc to obtain the previous behaviour with the newer version?
AFAICS the change is:
2002-09-29 Frank Heckenbach frank@pascal.gnu.de
* gpc-decl.c: finish_struct(): align files, objects, strings and the types `TimeStamp' and `BindingType' even in packed records on systems with strict alignment requirements (chief38.pas)
There is no option to get old behaviour.