Re: _php3_memnstr errors

From: Date: Sun, 20 Dec 1998 19:16:24 +0000
Subject: Re: _php3_memnstr errors
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-2925@lists.php.net to get a copy of this message
On Sun, 20 Dec 1998, Shane Caraveo wrote: > Rasmus Lerdorf wrote: > > > > > string.c(1244) : error C2036: 'void *' : unknown size > > > string.c(1244) : error C2036: 'void *' : unknown size > > > string.c(1245) : error C2036: 'void *' : unknown size > > > string.c(1245) : error C2036: 'void *' : unknown size > > > > > > I'm going to look at and try to fix, but if someone know's what's a > > > going on, please take a look. > > > > MSVC doesn't like void pointers, I guess. I don't think there is any real > > reason to have these be void *'s. Sascha, this is you code. Why did you > > make them void *'s? Standard mem* functions take void * pointers. Anyway, it will also work with char * > > > > -Rasmus > > Ok, changing to unsigned char * fixed the compiler errors. ok Regards, Sascha Schumann | Consultant | finger sas@schell.de | for PGP public key -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#2925) next »