Hi,
I finally decided to give Derelic a try to fool around a little in SDL.
I downloaded Derelic 0.1 from DSource but when I try to import SDL I get
following error message:
C:\dmd\src\derelict\sdl\events.d(220): cannot implicitly convert
expression (-1) of type int to ubyte
I understand the problem but why was a constant with the value -1
declared to be an unsigned integer in the first place? Why is such an
error in the sources? Everybody must have problems with this declaration
so in fact Derelict is useless in this state. And what is the workaround?
Regards,
Nils

Hi,
I finally decided to give Derelic a try to fool around a little in SDL.
I downloaded Derelic 0.1 from DSource but when I try to import SDL I get
following error message:
C:\dmd\src\derelict\sdl\events.d(220): cannot implicitly convert
expression (-1) of type int to ubyte
I understand the problem but why was a constant with the value -1
declared to be an unsigned integer in the first place? Why is such an
error in the sources? Everybody must have problems with this declaration
so in fact Derelict is useless in this state. And what is the workaround?
Regards,
Nils

Hi,
I finally decided to give Derelic a try to fool around a little in SDL.
I downloaded Derelic 0.1 from DSource but when I try to import SDL I get
following error message:
C:\dmd\src\derelict\sdl\events.d(220): cannot implicitly convert
expression (-1) of type int to ubyte
I understand the problem but why was a constant with the value -1
declared to be an unsigned integer in the first place? Why is such an
error in the sources? Everybody must have problems with this declaration
so in fact Derelict is useless in this state. And what is the workaround?

One of these days I'll get some new zip archives uploaded. Derelict has
grown and evolved quite a bit since that 0.1 archive was posted. Until
new release archives get posted (the only thing remaining to do before
that happens is to implement the Linux scripts for the Build utility),
the current version can always be checked out of svn. The "New Users"
thread in the Derelict forums
(http://www.dsource.org/forums/viewtopic.php?t=828) should go a long way
toward getting you started.

One of these days I'll get some new zip archives uploaded. Derelict has
grown and evolved quite a bit since that 0.1 archive was posted. Until
new release archives get posted (the only thing remaining to do before
that happens is to implement the Linux scripts for the Build utility),
the current version can always be checked out of svn. The "New Users"
thread in the Derelict forums
(http://www.dsource.org/forums/viewtopic.php?t=828) should go a long way
toward getting you started.

It did, thanks. And by the way: Great Work!
It's a pity though that Python didn't make it into derelict since it's
an awesome language and would be a wonderful addition to any D app in
need of scripting support. But maybe someday ...
Best regards,
Nils

One of these days I'll get some new zip archives uploaded. Derelict
has grown and evolved quite a bit since that 0.1 archive was posted.
Until new release archives get posted (the only thing remaining to do
before that happens is to implement the Linux scripts for the Build
utility), the current version can always be checked out of svn. The
"New Users" thread in the Derelict forums
(http://www.dsource.org/forums/viewtopic.php?t=828) should go a long
way toward getting you started.

It did, thanks. And by the way: Great Work!
It's a pity though that Python didn't make it into derelict since it's
an awesome language and would be a wonderful addition to any D app in
need of scripting support. But maybe someday ...
Best regards,
Nils