Thread overview | |||||
---|---|---|---|---|---|
|
June 29, 2002 SDL problems | ||||
---|---|---|---|---|
| ||||
Hi, after trying to get TinyPTC to work (BTW: I got TinyPTC to work with DMC) I now had a look at the SDL stuff. I tried to compile the test files. I get the following error: [d:\develop\dmd\samples\sdl]dmd testbitmap.d testbitmap.d(22): expression expected, not '>' The line contains a XYZ->ABC expression. Is the -> operator no longer supported? What's the problem here? -- Robert M. Münch IT & Management Freelancer Mobile: +49 (0)177 2452 802 Fax : +49 (0)721 8408 9112 Web : http://www.robertmuench.de |
June 29, 2002 Re: SDL problems | ||||
---|---|---|---|---|
| ||||
Posted in reply to Robert M. Münch | On Sat, 29 Jun 2002 16:06:30 +0200 "Robert M. Mьnch" <robert.muench@robertmuench.de> wrote: > The line contains a XYZ->ABC expression. Is the -> operator no longer supported? What's the problem here? D doesn't have the -> operator, . should be used instead. Earlier versions still supported ->, the latest doesn't. Just do a simple search&replace for all source code files, it should do. I should upload the updated version to the site, soon. |
June 29, 2002 Re: SDL problems | ||||
---|---|---|---|---|
| ||||
Posted in reply to Robert M. Münch | At a guess the problem is that "->" is no longer supported, change it to a "." instead. "Robert M. Münch" <robert.muench@robertmuench.de> wrote in message news:afkebu$1ss4$1@digitaldaemon.com... > Hi, after trying to get TinyPTC to work (BTW: I got TinyPTC to work with DMC) I now had a look at the SDL stuff. I tried to compile the test files. I > get the following error: > > [d:\develop\dmd\samples\sdl]dmd testbitmap.d > testbitmap.d(22): expression expected, not '>' > > The line contains a XYZ->ABC expression. Is the -> operator no longer supported? What's the problem here? > > -- > Robert M. Münch > IT & Management Freelancer > Mobile: +49 (0)177 2452 802 > Fax : +49 (0)721 8408 9112 > Web : http://www.robertmuench.de > > > |
Copyright © 1999-2021 by the D Language Foundation