Re: [PHP4BETA] wbmp support in php4

[email protected] Tue, 6 Jun 2000 11:39:26 -0700
Newsgroups php.version4
Message-ID <[email protected]>
Hello Rune,

Monday, June 05, 2000, 9:05:55 AM, you wrote:


RNS> I found the imagewbmp() function in php3 somthing usefull,
RNS> so I've tried to port it to php4. Is this diff of any use?

RNS> Regards,
RNS> Rune(sk)

Thanks for you job.

But when I use :

patch gd.c < diff

file patch ok!

Then I build php 4.0.0, I get this error:

gd.c:120: `php_if_imagewbmp' undeclared here (not in a function)
gd.c:120: initializer element for `gd_functions[22].handler' is not constant
gd.c: In function `php_imagettftext_common':
gd.c:2029: warning: `im' might be used uninitialized in this function
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/home/temp/php-4.0.0/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/temp/php-4.0.0/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/temp/php-4.0.0/ext'

Can you help me ?

BTW:wbmp can be use WML ?



-- 
Best regards,
 php                            mailto:[email protected]