17 Jul
2006
17 Jul
'06
10:31 a.m.
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. Regards, Markus