Thread overview
what does this error mean?
Nov 05, 2004
clayasaurus
Nov 05, 2004
Walter
Nov 05, 2004
clayasaurus
Nov 08, 2004
Stewart Gordon
Nov 09, 2004
Walter
November 05, 2004
i'm converting a c++ project to D and i'm getting a ton of error messages

"camera.d(35): struct camera.CVector3 no size yet for forward reference"

does anyone know what this could mean? thx.
November 05, 2004
"clayasaurus" <clayasaurus@gmail.com> wrote in message news:cmfbe5$18sn$1@digitaldaemon.com...
> i'm converting a c++ project to D and i'm getting a ton of error messages
>
> "camera.d(35): struct camera.CVector3 no size yet for forward reference"
>
> does anyone know what this could mean? thx.

Try moving the definition of CVector3 before line 35.


November 05, 2004
thx. that seems to work :)

Walter wrote:
> "clayasaurus" <clayasaurus@gmail.com> wrote in message
> news:cmfbe5$18sn$1@digitaldaemon.com...
> 
>>i'm converting a c++ project to D and i'm getting a ton of error messages
>>
>>"camera.d(35): struct camera.CVector3 no size yet for forward reference"
>>
>>does anyone know what this could mean? thx.
> 
> 
> Try moving the definition of CVector3 before line 35.
> 
> 
November 08, 2004
clayasaurus wrote:
> i'm converting a c++ project to D and i'm getting a ton of error messages
> 
> "camera.d(35): struct camera.CVector3 no size yet for forward reference"
> 
> does anyone know what this could mean? thx.

To me, it means DMD still has a few bugs in this area.  Isn't D meant to work regardless of the order in which data types are declared?

Stewart.
November 09, 2004
"Stewart Gordon" <smjg_1998@yahoo.com> wrote in message news:cmnj69$2ll9$1@digitaldaemon.com...
> clayasaurus wrote:
> > i'm converting a c++ project to D and i'm getting a ton of error
messages
> >
> > "camera.d(35): struct camera.CVector3 no size yet for forward reference"
> >
> > does anyone know what this could mean? thx.
>
> To me, it means DMD still has a few bugs in this area.  Isn't D meant to work regardless of the order in which data types are declared?

D does do a reasonably good job with this, but not 100%.