forward reference hell!

hehe hehe at hehe.com
Sat Feb 14 20:39:58 PST 2009


> fwiw, I was porting some pre D1.0 D program (not mine) to D1.0 today
> and run into the same problem.
> I wasted >2 hours to play with dependencies just to end up with no
> solution.
> Looks like I have to pull ~8 files into one just to make it compile,
> but ruin code separation. :(

Haha, you are going thru the same route as I did years ago, and when I eventually
put them all into one file (plus generated code), and make the compiler happy, the
linker won't link it because there are more than 16,000 fixups in one object file,
see the linker bug:

http://d.puremagic.com/issues/show_bug.cgi?id=424

I have to say: good luck!



More information about the Digitalmars-d mailing list