digitalmars.D.bugs - Forward Reference -g bug (minor) code reduction challange
- clayasaurus (9/9) Apr 12 2006 Hi, I have code that will compile with
- Kyle Furlong (2/16) Apr 12 2006 You know that freetype already has a binding in the dsource bindings pro...
- clayasaurus (2/20) Apr 12 2006 You think I wrote this myself?
- clayasaurus (3/24) Apr 12 2006 Sorry if I sounded harsh, but I pulled this code straight form the
- Kyle Furlong (2/27) Apr 13 2006 I realized that after I visited the dsource forums. I visit the NG first...
- Deewiant (6/20) Apr 12 2006 I got this far:
- clayasaurus (4/27) Apr 12 2006 Thanks, you've done the D compiler a good service :). Since you reduced...
- Deewiant (5/34) Apr 13 2006 Go ahead, I don't mind. You essentially found the original bug anyway.
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.)
Apr 12 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.)You know that freetype already has a binding in the dsource bindings project right?
Apr 12 2006
Kyle Furlong wrote:clayasaurus wrote:You think I wrote this myself?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.)You know that freetype already has a binding in the dsource bindings project right?
Apr 12 2006
clayasaurus wrote:Kyle Furlong wrote:Sorry if I sounded harsh, but I pulled this code straight form the freetype project on bindings. :-Pclayasaurus wrote:You think I wrote this myself?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.)You know that freetype already has a binding in the dsource bindings project right?
Apr 12 2006
clayasaurus wrote:clayasaurus wrote:I realized that after I visited the dsource forums. I visit the NG first in my updates. :PKyle Furlong wrote:Sorry if I sounded harsh, but I pulled this code straight form the freetype project on bindings. :-Pclayasaurus wrote:You think I wrote this myself?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.)You know that freetype already has a binding in the dsource bindings project right?
Apr 13 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;
Apr 12 2006
Deewiant wrote:clayasaurus wrote:Thanks, you've done the D compiler a good service :). Since you reduced it, would you rather write the bugzilla or should I? ~ ClayHi, 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;
Apr 12 2006
clayasaurus wrote:Deewiant wrote:Go ahead, I don't mind. You essentially found the original bug anyway. By the way, the struct isn't needed. So this is about as small as it gets: Foofunc f; alias int function(Foo) Foofunc;clayasaurus wrote:Thanks, you've done the D compiler a good service :). Since you reduced it, would you rather write the bugzilla or should I? ~ ClayHi, 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;
Apr 13 2006