| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2005.08.17 19:07 "Re: Compile error on AIX 5.1", by Philip WatkinsonHi Andrey,
> Try to replace this line with the
>
> for (cp = td->td_inknames; i > 0; cp = strchr(cp, 0) + 1, i--) {
>
> Please, report, if this helps.
Your proposed solution did not work. Getting same error message.
Could I suggest that strchr() be removed and that the following code be
used:
fprintf(fd, " Ink Names: ");
sep = "";
cp = td->td_inknames;
for (i = td->td_samplesperpixel; i > 0; i--) {
fputs(sep, fd);
_TIFFprintAscii(fd, cp);
sep = ", ";
while (*cp != '\0')
cp += 1;
cp += 1;
}
Philip
|
|||||||