www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Forward reference errors with -g

reply Jeremy <Jeremy_member pathlink.com> writes:
C:\dmd\FreeUniverse>build FreeUniverse.d -clean -debug -g
error: forward reference of FT_Memory
error: forward reference of FT_Memory
error: forward reference of FT_Memory
error: forward reference of FT_Stream
error: forward reference of FT_Stream
error: forward reference of FT_Vector
error: forward reference of FT_Vector
error: forward reference of FT_Vector
error: forward reference of FT_Vector
error: forward reference of FT_Vector
error: forward reference of FT_Vector
error: forward reference of FT_Span
error: forward reference of FT_Raster
error: forward reference of FT_Raster
error: forward reference of FT_Raster
error: forward reference of FT_Raster
error: forward reference of FT_Raster_Params
error: forward reference of FT_Raster
error: forward reference of FT_Module
error: forward reference of FT_Glyph
error: forward reference of FT_Glyph
error: forward reference of FT_Matrix
error: forward reference of FT_Vector
error: forward reference of FT_Glyph
error: forward reference of FT_BBox
error: forward reference of FT_Renderer
error: forward reference of FT_GlyphSlot
error: forward reference of FT_BBox
error: forward reference of FTC_MruNode
error: forward reference of FT_Pointer
error: forward reference of FTC_Node
error: forward reference of FTC_Cache
error: forward reference of FTC_Cache
error: forward reference of FT_Incremental
error: forward reference of FT_Data
error: forward reference of FT_Face
error: forward reference of FT_Size
error: forward reference of FT_GlyphSlot
error: forward reference of FT_AutoHinter
error: forward reference of FT_Face
error: forward reference of FT_AutoHinter
error: forward reference of FT_Face
error: forward reference of FT_AutoHinter
error: forward reference of FT_CMap
error: forward reference of TT_Loader
error: forward reference of TT_Face
error: forward reference of PSH_Globals
error: forward reference of T1_Hints
error: forward reference of T1_Hints
error: forward reference of FT_UInt
error: forward reference of FT_Long
error: forward reference of T1_Hints
error: forward reference of FT_UInt
error: forward reference of T2_Hints
error: forward reference of T2_Hints
error: forward reference of FT_UInt
error: forward reference of FT_UInt
error: forward reference of FT_Fixed
error: forward reference of T2_Hints
error: forward reference of FT_UInt
error: forward reference of FT_UInt
error: forward reference of FT_Byte
error: forward reference of T2_Hints
error: forward reference of FT_UInt
error: forward reference of FT_Byte
error: forward reference of FT_UInt
error: forward reference of FT_Face
error: forward reference of FT_Pointer
error: forward reference of T1_Builder
error: forward reference of FT_Pos
error: forward reference of FT_Pos
error: forward reference of FT_Byte
error: forward reference of T1_Builder

I am using Derelict, ArcGames (with freetype) -- All these error messages go
away and it compiles fine without the '-g' option. Is this a bug, or can I just
not use '-g' in my program? I'd like to use this with windbg :)
May 11 2006
next sibling parent Jeremy <Jeremy_member pathlink.com> writes:
In article <e3vmbp$1mdo$1 digitaldaemon.com>, Jeremy says...
C:\dmd\FreeUniverse>build FreeUniverse.d -clean -debug -g
error: forward reference of FT_Memory
error: forward reference of FT_Memory
error: forward reference of FT_Memory
error: forward reference of FT_Stream
error: forward reference of FT_Stream
error: forward reference of FT_Vector
error: forward reference of FT_Vector
error: forward reference of FT_Vector
error: forward reference of FT_Vector
error: forward reference of FT_Vector
error: forward reference of FT_Vector
error: forward reference of FT_Span
error: forward reference of FT_Raster
error: forward reference of FT_Raster
error: forward reference of FT_Raster
error: forward reference of FT_Raster
error: forward reference of FT_Raster_Params
error: forward reference of FT_Raster
error: forward reference of FT_Module
error: forward reference of FT_Glyph
error: forward reference of FT_Glyph
error: forward reference of FT_Matrix
error: forward reference of FT_Vector
error: forward reference of FT_Glyph
error: forward reference of FT_BBox
error: forward reference of FT_Renderer
error: forward reference of FT_GlyphSlot
error: forward reference of FT_BBox
error: forward reference of FTC_MruNode
error: forward reference of FT_Pointer
error: forward reference of FTC_Node
error: forward reference of FTC_Cache
error: forward reference of FTC_Cache
error: forward reference of FT_Incremental
error: forward reference of FT_Data
error: forward reference of FT_Face
error: forward reference of FT_Size
error: forward reference of FT_GlyphSlot
error: forward reference of FT_AutoHinter
error: forward reference of FT_Face
error: forward reference of FT_AutoHinter
error: forward reference of FT_Face
error: forward reference of FT_AutoHinter
error: forward reference of FT_CMap
error: forward reference of TT_Loader
error: forward reference of TT_Face
error: forward reference of PSH_Globals
error: forward reference of T1_Hints
error: forward reference of T1_Hints
error: forward reference of FT_UInt
error: forward reference of FT_Long
error: forward reference of T1_Hints
error: forward reference of FT_UInt
error: forward reference of T2_Hints
error: forward reference of T2_Hints
error: forward reference of FT_UInt
error: forward reference of FT_UInt
error: forward reference of FT_Fixed
error: forward reference of T2_Hints
error: forward reference of FT_UInt
error: forward reference of FT_UInt
error: forward reference of FT_Byte
error: forward reference of T2_Hints
error: forward reference of FT_UInt
error: forward reference of FT_Byte
error: forward reference of FT_UInt
error: forward reference of FT_Face
error: forward reference of FT_Pointer
error: forward reference of T1_Builder
error: forward reference of FT_Pos
error: forward reference of FT_Pos
error: forward reference of FT_Byte
error: forward reference of T1_Builder

I am using Derelict, ArcGames (with freetype) -- All these error messages go
away and it compiles fine without the '-g' option. Is this a bug, or can I just
not use '-g' in my program? I'd like to use this with windbg :)

This is with DMD v0.157
May 11 2006
prev sibling parent reply clayasaurus <clayasaurus gmail.com> writes:
Jeremy wrote:
 C:\dmd\FreeUniverse>build FreeUniverse.d -clean -debug -g
 error: forward reference of FT_Memory
 error: forward reference of FT_Memory
 error: forward reference of FT_Memory
 error: forward reference of FT_Stream
 error: forward reference of FT_Stream
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Span
 error: forward reference of FT_Raster
 error: forward reference of FT_Raster
 error: forward reference of FT_Raster
 error: forward reference of FT_Raster
 error: forward reference of FT_Raster_Params
 error: forward reference of FT_Raster
 error: forward reference of FT_Module
 error: forward reference of FT_Glyph
 error: forward reference of FT_Glyph
 error: forward reference of FT_Matrix
 error: forward reference of FT_Vector
 error: forward reference of FT_Glyph
 error: forward reference of FT_BBox
 error: forward reference of FT_Renderer
 error: forward reference of FT_GlyphSlot
 error: forward reference of FT_BBox
 error: forward reference of FTC_MruNode
 error: forward reference of FT_Pointer
 error: forward reference of FTC_Node
 error: forward reference of FTC_Cache
 error: forward reference of FTC_Cache
 error: forward reference of FT_Incremental
 error: forward reference of FT_Data
 error: forward reference of FT_Face
 error: forward reference of FT_Size
 error: forward reference of FT_GlyphSlot
 error: forward reference of FT_AutoHinter
 error: forward reference of FT_Face
 error: forward reference of FT_AutoHinter
 error: forward reference of FT_Face
 error: forward reference of FT_AutoHinter
 error: forward reference of FT_CMap
 error: forward reference of TT_Loader
 error: forward reference of TT_Face
 error: forward reference of PSH_Globals
 error: forward reference of T1_Hints
 error: forward reference of T1_Hints
 error: forward reference of FT_UInt
 error: forward reference of FT_Long
 error: forward reference of T1_Hints
 error: forward reference of FT_UInt
 error: forward reference of T2_Hints
 error: forward reference of T2_Hints
 error: forward reference of FT_UInt
 error: forward reference of FT_UInt
 error: forward reference of FT_Fixed
 error: forward reference of T2_Hints
 error: forward reference of FT_UInt
 error: forward reference of FT_UInt
 error: forward reference of FT_Byte
 error: forward reference of T2_Hints
 error: forward reference of FT_UInt
 error: forward reference of FT_Byte
 error: forward reference of FT_UInt
 error: forward reference of FT_Face
 error: forward reference of FT_Pointer
 error: forward reference of T1_Builder
 error: forward reference of FT_Pos
 error: forward reference of FT_Pos
 error: forward reference of FT_Byte
 error: forward reference of T1_Builder
 
 I am using Derelict, ArcGames (with freetype) -- All these error messages go
 away and it compiles fine without the '-g' option. Is this a bug, or can I just
 not use '-g' in my program? I'd like to use this with windbg :)
 
 

http://d.puremagic.com/bugzilla/show_bug.cgi?id=104
May 11 2006
parent reply Jeremy <Jeremy_member pathlink.com> writes:
In article <e3vpg7$1rfb$1 digitaldaemon.com>, clayasaurus says...
Jeremy wrote:
 C:\dmd\FreeUniverse>build FreeUniverse.d -clean -debug -g
 error: forward reference of FT_Memory
 error: forward reference of FT_Memory
 error: forward reference of FT_Memory
 error: forward reference of FT_Stream
 error: forward reference of FT_Stream
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Span
 error: forward reference of FT_Raster
 error: forward reference of FT_Raster
 error: forward reference of FT_Raster
 error: forward reference of FT_Raster
 error: forward reference of FT_Raster_Params
 error: forward reference of FT_Raster
 error: forward reference of FT_Module
 error: forward reference of FT_Glyph
 error: forward reference of FT_Glyph
 error: forward reference of FT_Matrix
 error: forward reference of FT_Vector
 error: forward reference of FT_Glyph
 error: forward reference of FT_BBox
 error: forward reference of FT_Renderer
 error: forward reference of FT_GlyphSlot
 error: forward reference of FT_BBox
 error: forward reference of FTC_MruNode
 error: forward reference of FT_Pointer
 error: forward reference of FTC_Node
 error: forward reference of FTC_Cache
 error: forward reference of FTC_Cache
 error: forward reference of FT_Incremental
 error: forward reference of FT_Data
 error: forward reference of FT_Face
 error: forward reference of FT_Size
 error: forward reference of FT_GlyphSlot
 error: forward reference of FT_AutoHinter
 error: forward reference of FT_Face
 error: forward reference of FT_AutoHinter
 error: forward reference of FT_Face
 error: forward reference of FT_AutoHinter
 error: forward reference of FT_CMap
 error: forward reference of TT_Loader
 error: forward reference of TT_Face
 error: forward reference of PSH_Globals
 error: forward reference of T1_Hints
 error: forward reference of T1_Hints
 error: forward reference of FT_UInt
 error: forward reference of FT_Long
 error: forward reference of T1_Hints
 error: forward reference of FT_UInt
 error: forward reference of T2_Hints
 error: forward reference of T2_Hints
 error: forward reference of FT_UInt
 error: forward reference of FT_UInt
 error: forward reference of FT_Fixed
 error: forward reference of T2_Hints
 error: forward reference of FT_UInt
 error: forward reference of FT_UInt
 error: forward reference of FT_Byte
 error: forward reference of T2_Hints
 error: forward reference of FT_UInt
 error: forward reference of FT_Byte
 error: forward reference of FT_UInt
 error: forward reference of FT_Face
 error: forward reference of FT_Pointer
 error: forward reference of T1_Builder
 error: forward reference of FT_Pos
 error: forward reference of FT_Pos
 error: forward reference of FT_Byte
 error: forward reference of T1_Builder
 
 I am using Derelict, ArcGames (with freetype) -- All these error messages go
 away and it compiles fine without the '-g' option. Is this a bug, or can I just
 not use '-g' in my program? I'd like to use this with windbg :)
 
 

http://d.puremagic.com/bugzilla/show_bug.cgi?id=104

Ahhhhh, OK :) I remember seeing something like that before, I thought it was marked as resolved...? Oh well, hope to see it fixed soon.
May 11 2006
parent reply clayasaurus <clayasaurus gmail.com> writes:
Jeremy wrote:
 In article <e3vpg7$1rfb$1 digitaldaemon.com>, clayasaurus says...
 Jeremy wrote:
 C:\dmd\FreeUniverse>build FreeUniverse.d -clean -debug -g
 error: forward reference of FT_Memory
 error: forward reference of FT_Memory
 error: forward reference of FT_Memory
 error: forward reference of FT_Stream
 error: forward reference of FT_Stream
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Span
 error: forward reference of FT_Raster
 error: forward reference of FT_Raster
 error: forward reference of FT_Raster
 error: forward reference of FT_Raster
 error: forward reference of FT_Raster_Params
 error: forward reference of FT_Raster
 error: forward reference of FT_Module
 error: forward reference of FT_Glyph
 error: forward reference of FT_Glyph
 error: forward reference of FT_Matrix
 error: forward reference of FT_Vector
 error: forward reference of FT_Glyph
 error: forward reference of FT_BBox
 error: forward reference of FT_Renderer
 error: forward reference of FT_GlyphSlot
 error: forward reference of FT_BBox
 error: forward reference of FTC_MruNode
 error: forward reference of FT_Pointer
 error: forward reference of FTC_Node
 error: forward reference of FTC_Cache
 error: forward reference of FTC_Cache
 error: forward reference of FT_Incremental
 error: forward reference of FT_Data
 error: forward reference of FT_Face
 error: forward reference of FT_Size
 error: forward reference of FT_GlyphSlot
 error: forward reference of FT_AutoHinter
 error: forward reference of FT_Face
 error: forward reference of FT_AutoHinter
 error: forward reference of FT_Face
 error: forward reference of FT_AutoHinter
 error: forward reference of FT_CMap
 error: forward reference of TT_Loader
 error: forward reference of TT_Face
 error: forward reference of PSH_Globals
 error: forward reference of T1_Hints
 error: forward reference of T1_Hints
 error: forward reference of FT_UInt
 error: forward reference of FT_Long
 error: forward reference of T1_Hints
 error: forward reference of FT_UInt
 error: forward reference of T2_Hints
 error: forward reference of T2_Hints
 error: forward reference of FT_UInt
 error: forward reference of FT_UInt
 error: forward reference of FT_Fixed
 error: forward reference of T2_Hints
 error: forward reference of FT_UInt
 error: forward reference of FT_UInt
 error: forward reference of FT_Byte
 error: forward reference of T2_Hints
 error: forward reference of FT_UInt
 error: forward reference of FT_Byte
 error: forward reference of FT_UInt
 error: forward reference of FT_Face
 error: forward reference of FT_Pointer
 error: forward reference of T1_Builder
 error: forward reference of FT_Pos
 error: forward reference of FT_Pos
 error: forward reference of FT_Byte
 error: forward reference of T1_Builder

 I am using Derelict, ArcGames (with freetype) -- All these error messages go
 away and it compiles fine without the '-g' option. Is this a bug, or can I just
 not use '-g' in my program? I'd like to use this with windbg :)


Ahhhhh, OK :) I remember seeing something like that before, I thought it was marked as resolved...? Oh well, hope to see it fixed soon.

It is in Dstress and the bugzilla database so it will be fixed 'some day,' I think. BTW, I don't know if you realize there is a separate digitalmars.D.bugs newsgroup.
May 11 2006
parent Jeremy <Jeremy_member pathlink.com> writes:
In article <e400q8$23um$1 digitaldaemon.com>, clayasaurus says...
Jeremy wrote:
 In article <e3vpg7$1rfb$1 digitaldaemon.com>, clayasaurus says...
 Jeremy wrote:
 C:\dmd\FreeUniverse>build FreeUniverse.d -clean -debug -g
 error: forward reference of FT_Memory
 error: forward reference of FT_Memory
 error: forward reference of FT_Memory
 error: forward reference of FT_Stream
 error: forward reference of FT_Stream
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Vector
 error: forward reference of FT_Span
 error: forward reference of FT_Raster
 error: forward reference of FT_Raster
 error: forward reference of FT_Raster
 error: forward reference of FT_Raster
 error: forward reference of FT_Raster_Params
 error: forward reference of FT_Raster
 error: forward reference of FT_Module
 error: forward reference of FT_Glyph
 error: forward reference of FT_Glyph
 error: forward reference of FT_Matrix
 error: forward reference of FT_Vector
 error: forward reference of FT_Glyph
 error: forward reference of FT_BBox
 error: forward reference of FT_Renderer
 error: forward reference of FT_GlyphSlot
 error: forward reference of FT_BBox
 error: forward reference of FTC_MruNode
 error: forward reference of FT_Pointer
 error: forward reference of FTC_Node
 error: forward reference of FTC_Cache
 error: forward reference of FTC_Cache
 error: forward reference of FT_Incremental
 error: forward reference of FT_Data
 error: forward reference of FT_Face
 error: forward reference of FT_Size
 error: forward reference of FT_GlyphSlot
 error: forward reference of FT_AutoHinter
 error: forward reference of FT_Face
 error: forward reference of FT_AutoHinter
 error: forward reference of FT_Face
 error: forward reference of FT_AutoHinter
 error: forward reference of FT_CMap
 error: forward reference of TT_Loader
 error: forward reference of TT_Face
 error: forward reference of PSH_Globals
 error: forward reference of T1_Hints
 error: forward reference of T1_Hints
 error: forward reference of FT_UInt
 error: forward reference of FT_Long
 error: forward reference of T1_Hints
 error: forward reference of FT_UInt
 error: forward reference of T2_Hints
 error: forward reference of T2_Hints
 error: forward reference of FT_UInt
 error: forward reference of FT_UInt
 error: forward reference of FT_Fixed
 error: forward reference of T2_Hints
 error: forward reference of FT_UInt
 error: forward reference of FT_UInt
 error: forward reference of FT_Byte
 error: forward reference of T2_Hints
 error: forward reference of FT_UInt
 error: forward reference of FT_Byte
 error: forward reference of FT_UInt
 error: forward reference of FT_Face
 error: forward reference of FT_Pointer
 error: forward reference of T1_Builder
 error: forward reference of FT_Pos
 error: forward reference of FT_Pos
 error: forward reference of FT_Byte
 error: forward reference of T1_Builder

 I am using Derelict, ArcGames (with freetype) -- All these error messages go
 away and it compiles fine without the '-g' option. Is this a bug, or can I just
 not use '-g' in my program? I'd like to use this with windbg :)


Ahhhhh, OK :) I remember seeing something like that before, I thought it was marked as resolved...? Oh well, hope to see it fixed soon.

It is in Dstress and the bugzilla database so it will be fixed 'some day,' I think. BTW, I don't know if you realize there is a separate digitalmars.D.bugs newsgroup.

Ahhh yes, apparently there is :) I get so too used to posting things in here...
May 11 2006