help with c translation

Lars T. Kyllingstad public at kyllingen.NOSPAMnet
Thu Jul 2 03:09:31 PDT 2009


robby wrote:
> i'm using D1/Tango. sorry, im not sure to how to explain the error messages, but if you need to look a t full code, here is the link 
> 
> http://www.ibsensoftware.com/download.html
> 
> thanks again.


Several places in that code, I notice things like this:

     const type foo;
     ...
     foo = bar;

I have no idea why this works in C, but in D it certainly doesn't. Try 
removing "const" everywhere in your translated code, including the 
BLZPACKDATA struct. It's brutal, I know, but it may work.

-Lars


More information about the Digitalmars-d-learn mailing list