Martin G C Davies wrote:
Fair enough - but we're slightly moving off the original question. What I have is 240,000 lines of code in 159 compilation units. The program is largely a table driven one and a number of modules are basically just the definition and compile-time (honestly!) initialization. Some records have variants.
So the original question was:- Can I get GPC to initialize variant records? If the answer is "No" I understand how to get around the problem - I'd just prefer not to if I don't have to.
I'm afraid the answer is no (I'll add am error message to make this clear). Adding support for this seems to require some work (i.e., it's not just a bug, it's a whole missing feature).
Depending on the situation it might be an acceptable work-around to avoid the variants for now (i.e., make it one big record).
Frank