Re: PHP 4.0 Bug #2769 Updated: Warning in gdttf.c
| From: | Oliver Billmann | Date: | Sun, 21 Nov 1999 13:19:47 +0000 |
| Subject: | Re: PHP 4.0 Bug #2769 Updated: Warning in gdttf.c | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-12852@lists.php.net to get a copy of this message | ||
> ID: 2769
> Updated by: rasmus
> Reported By: oliver@billix.franken.de
> Status: Closed
> Bug Type: Compile Warning
> Assigned To:
> Comments:
>
> Fixed in both PHP 3 and 4 CVS trees
Almost...
Compiling PHP3 now gives the following warning (using gd 1.5):
functions/gdttf.c:165: warning: static declaration for `gdImageColorResolve' follows non-static
because the prototype in line 153 says
int gdImageColorResolve(...)
and the function declaration in line 163 says
static int gdImageColorResolve(...)
Another thought: Why is this function present in gdttf.c as well as in
gd.c? Isn't gd.c always used with gdttf.c?
Oliver
--
\\\///
+--------------------+ \\// +-----------------------------+
| Oliver Billmann | ( .. ) | oliver@billix.franken.de |
+--------------------+-ooO-(__)-Ooo-+-----------------------------+