On 04/05/2016 05:30 AM, Jonathan Wakely wrote:
On 5 April 2016 at 11:17, leon zadorin wrote:
Incidentally, would you have some thoughts on why this is the case? I
know nothing of the theoretical challenges in representing ASTs in
precompiled headers so I'm just wondering whether this behaviour is
due to just a shortage of interest/need/time in GCC development land,
or whether there are some fundamental technical constrains which would
impede getting this done.
I believe the PCH is just a read-only dump of the contents of memory
after the input header is processed.
Correct.
I have no idea how feasible it
would be to start poking at and extending those contents when read
back in.
In theory it should be possible, but I doubt it is in practice with
GCC's implementation.
Jeff