Re: 2.99.2 release
ezra peisach <[email protected]>
| Newsgroups | gmane.comp.tex.tetex.beta |
|---|---|
| Message-ID | <[email protected]> |
Found a problem compiling under Irix 6.5.20 using native compiler...
libs/gd/gd.c has the following type of errors:
cc-1077 cc: ERROR File = gd.c, Line = 2719
The indicated declaration has no storage class or type specifier.
inline static void gdImageSetAAPixelColor(gdImagePtr im, int x, int y, int color, int t);
^
This is fixed in newer versions of the gd library... But here is the fix...
(essentially remove inline).
I will let you know of other problems as discovered...
Ezra
*** gd.c 2004/11/07 16:23:13 1.1
--- gd.c 2004/11/07 16:24:53
***************
*** 2716,2722 ****
}
}
! inline static void gdImageSetAAPixelColor(gdImagePtr im, int x, int y, int color, int t);
BGD_DECLARE(void) gdImageSetStyle (gdImagePtr im, int *style, int noOfPixels)
{
--- 2716,2722 ----
}
}
! static void gdImageSetAAPixelColor(gdImagePtr im, int x, int y, int color, int t);
BGD_DECLARE(void) gdImageSetStyle (gdImagePtr im, int *style, int noOfPixels)
{
***************
*** 2969,2975 ****
#define BLEND_COLOR(a, nc, c, cc) \
nc = (cc) + (((((c) - (cc)) * (a)) + ((((c) - (cc)) * (a)) >> 8) + 0x80) >> 8);
! inline static void gdImageSetAAPixelColor(gdImagePtr im, int x, int y, int color, int t)
{
int dr,dg,db,p,r,g,b;
p = gdImageGetPixel(im,x,y);
--- 2969,2975 ----
#define BLEND_COLOR(a, nc, c, cc) \
nc = (cc) + (((((c) - (cc)) * (a)) + ((((c) - (cc)) * (a)) >> 8) + 0x80) >> 8);
! static void gdImageSetAAPixelColor(gdImagePtr im, int x, int y, int color, int t)
{
int dr,dg,db,p,r,g,b;
p = gdImageGetPixel(im,x,y);