Forward Reference -g bug (minor) code reduction challange
Deewiant
deewiant.doesnotlike.spam at gmail.com
Wed Apr 12 13:01:48 PDT 2006
clayasaurus wrote:
> Hi, I have code that will compile with
>
> dmd -c def.d
>
> but will give forward reference errors when compiled with
>
> dmd -c -g def.d
>
> I have not been able to reduce the code, maybe someone with more
> understanding can.
>
> The offending code can be found here -->
> http://www.dsource.org/projects/warbots/browser/trunk/mpong/def.d (too
> big to upload to digitalmars server.)
I got this far:
struct FT_Var_Named_Style{
T1_Decoder_Callback f;
}
alias int function( T1_DecoderRec decoder ) T1_Decoder_Callback;
More information about the Digitalmars-d-bugs
mailing list