www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Why this returns the following error massage: identifier 'memset'

reply Cris <central_p hotmail.com> writes:
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/
Jul 11 2006
parent reply Tom S <h3r3tic remove.mat.uni.torun.pl> writes:
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 +/
Jul 11 2006
parent reply Cris <central_p hotmail.com> writes:
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?
Jul 11 2006
next sibling parent Tom S <h3r3tic remove.mat.uni.torun.pl> writes:
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 +/
Jul 11 2006
prev sibling parent =?UTF-8?B?QW5kZXJzIEYgQmrDtnJrbHVuZA==?= <afb algonet.se> writes:
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
Jul 12 2006