Thread overview
Why this returns the following error massage: identifier 'memset' is not defined
Jul 11, 2006
Cris
Jul 11, 2006
Tom S
Jul 11, 2006
Cris
Jul 11, 2006
Tom S
July 11, 2006
alias memset SDL_memset;
} else {
void * SDL_memset(void *dst, int c, size_t len);
}

This is from Anders' SDL bindings.
http://www.algonet.se/~afb/d/
July 11, 2006
Cris wrote:
> alias memset SDL_memset;
> } else {
> void * SDL_memset(void *dst, int c, size_t len);
> }

import std.c.string;


-- 
Tomasz Stachowiak  /+ a.k.a. h3r3tic +/
July 11, 2006
Tom S wrote:
> Cris wrote:
>> alias memset SDL_memset;
>> } else {
>> void * SDL_memset(void *dst, int c, size_t len);
>> }
> 
> import std.c.string;
> 
> 
Thanks I've fixed it. It seems that the bindings are not upto the latest compiler. There are a few more error messages but I've commented out the code.

Are there any uptodate SDL 1.2.11 bindings?
July 11, 2006
Cris wrote:
> Are there any uptodate SDL 1.2.11 bindings?

You might want to try Derelict: http://www.dsource.org/projects/derelict


-- 
Tomasz Stachowiak  /+ a.k.a. h3r3tic +/
July 12, 2006
Cris wrote:

>> This is from Anders' SDL bindings.
>>
> Thanks I've fixed it. It seems that the bindings are not upto the latest compiler. There are a few more error messages but I've commented out the code.
> 
> Are there any uptodate SDL 1.2.11 bindings?

I'll see if I can't update it to SDL 1.2.11 and GDC 0.19...

Also need some more detailed documentation like a tutorial,
similar to the ones for Build/Derelict that can be found at
http://dmedia.dprogramming.com/Tutorials/SdlGlTutorial1

--anders