Markus Gerwinski wrote:
Bastiaan Veelo wrote:
type record_with_empty_string = record empty_string : string(127) {VALUE ''}; end;
This program compiles. But if you uncomment the initial value of empty_string, GPC complains with "initial value of discriminated schema type is of wrong type". Things like this used to work with Prospero.
Is there a workaround?
Your program builds and runs fine in my environment. What version of gcc and gpc are you using?
I'm running the gpc-20050331 snapshot based on gcc-3.4.3.
No problems here either, with gpc version 20051116, based on gcc-3.4.5 on I386-apple-darwin.
Regards,
Adriaan van Os