|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-08-03 09:13 UTC] helly@php.net
[2002-08-10 10:16 UTC] kalowsky@php.net
[2002-08-11 11:54 UTC] nohn@php.net
[2002-09-03 13:42 UTC] nohn@php.net
[2002-09-03 22:41 UTC] kalowsky@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 07 04:00:01 2025 UTC |
When compile with --enable-exif following errors occur: cc: Info: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 535: In this d eclaration, there is a redundant use of type qualifier "const". (duptypqual) static const tag_info_array tag_table_IFD = { -------^ cc: Info: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 784: In this d eclaration, there is a redundant use of type qualifier "const". (duptypqual) static const tag_info_array tag_table_GPS = { -------^ cc: Info: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 819: In this d eclaration, there is a redundant use of type qualifier "const". (duptypqual) static const tag_info_array tag_table_IOP = { -------^ cc: Info: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 828: In this d eclaration, there is a redundant use of type qualifier "const". (duptypqual) static const tag_info_array tag_table_VND_CANON = { -------^ cc: Info: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 840: In this d eclaration, there is a redundant use of type qualifier "const". (duptypqual) static const tag_info_array tag_table_VND_CASIO = { -------^ cc: Info: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 856: In this d eclaration, there is a redundant use of type qualifier "const". (duptypqual) static const tag_info_array tag_table_VND_FUJI = { -------^ cc: Info: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 876: In this d eclaration, there is a redundant use of type qualifier "const". (duptypqual) static const tag_info_array tag_table_VND_NIKON = { cc: Info: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 888: In this d eclaration, there is a redundant use of type qualifier "const". (duptypqual) static const tag_info_array tag_table_VND_NIKON_990 = { -------^ cc: Info: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 907: In this d eclaration, there is a redundant use of type qualifier "const". (duptypqual) static const tag_info_array tag_table_VND_OLYMPUS = { -------^ cc: Error: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 3000: In this declaration, parameter 4 has a different type than specified in an earlier decl aration of this function. (mismatparam) static int exif_process_IFD_in_JPEG(image_info_type *ImageInfo, char *dir_start, char *offset_base, unsigned IFDlength, size_t displacement, int section_index T SRMLS_DC) -----------^ cc: Error: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 3000: In this declaration, the type of "exif_process_IFD_in_JPEG" is not compatible with the type of a previous declaration of "exif_process_IFD_in_JPEG" at line number 2177 in file /usr/users/nohn/php4-200207292100/ext/exif/exif.c. (notcompat) static int exif_process_IFD_in_JPEG(image_info_type *ImageInfo, char *dir_start, char *offset_base, unsigned IFDlength, size_t displacement, int section_index T SRMLS_DC) -----------^ cc: Warning: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 3209: In th is statement, the referenced type of the pointer value "(Data+2)" is "unsigned c har", which is not compatible with "signed char". (ptrmismatch) got = php_stream_read(ImageInfo->infile, Data+2, itemlen-2); /* Read the whole section. */ ----------------------^ cc: Warning: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 3230: In th is statement, the referenced type of the pointer value "(Data)" is "unsigned cha r", which is not compatible with "signed char". (ptrmismatch) got = php_stream_read(ImageInfo->infile, Data, size); ----------------------------------------------^ cc: Warning: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 3243: In th is statement, the referenced type of the pointer value "(char ...)Data" is "sign ed char", which is not compatible with "unsigned char". (ptrmismatch) exif_process_COM(ImageInfo, (char *)Data, itemle n TSRMLS_CC); ------------------------------------------------------------^ cc: Warning: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 3301: In th e initializer for data, the referenced type of the pointer value "ImageInfo->Thu mbnail.data" is "signed char", which is not compatible with "unsigned char". (pt rmismatch) uchar c, *data = ImageInfo->Thumbnail.data; -----------------------------------^ cc: Warning: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 3401: In th is statement, the referenced type of the pointer value "(ImageInfo->file.list[sn ].data)" is "unsigned char", which is not compatible with "signed char". (ptrmis match) php_stream_read(ImageInfo->infile, ImageInfo->file.list[sn].data , 2); ----------------^ cc: Warning: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 3411: In th is statement, the referenced type of the pointer value "(ImageInfo->file.list[sn ].data+2)" is "unsigned char", which is not compatible with "signed char". (ptrm ismatch) php_stream_read(ImageInfo->infile, ImageInfo->file.list[ sn].data+2, dir_size-2); ------------------------^ cc: Warning: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 3500: In th is statement, the referenced type of the pointer value "(ImageInfo->file.list[sn ].data+dir_size)" is "unsigned char", which is not compatible with "signed char" . (ptrmismatch) php_stream_read(ImageInfo->infile, Image Info->file.list[sn].data+dir_size, ifd_size-dir_size); ----------------------------------------^ cc: Warning: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 3565: In th is statement, the referenced type of the pointer value "dir_entry" is "unsignedchar", which is not compatible with "signed char". (ptrmismatch) if (!exif_process_IFD_TAG(ImageI nfo, dir_entry, -------------------------------------------------------------------------------- -----^ cc: Warning: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 3566: In th is statement, the referenced type of the pointer value "ImageInfo->file.list[sn] .data-dir_offset" is "unsigned char", which is not compatible with "signed char" . (ptrmismatch) ImageInfo->file.list[sn].data-dir_offset, -------------------------------------------------------------------------------- ------------------^ cc: Warning: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 3627: In th is statement, the referenced type of the pointer value "(file_header)" is "unsig ned char", which is not compatible with "signed char". (ptrmismatch) php_stream_read(ImageInfo->infile, file_header, 2); ----------------^ cc: Warning: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 3636: In th is statement, the referenced type of the pointer value "(file_header+2)" is "uns igned char", which is not compatible with "signed char". (ptrmismatch) php_stream_read(ImageInfo->infile, file_header+2, 6); ------------------------^ cc: Warning: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 4047: In th is statement, the expression "itype=itype=php_getimagetype(...)" modifies the va riable "itype" more than once without an intervening sequence point. This behav ior is undefined. (undefvarmod) itype = itype = php_getimagetype(stream, NULL TSRMLS_CC); --------^ cc: Error: /usr/users/nohn/php4-200207292100/ext/exif/exif.c, line 2177: The fun ction "exif_process_IFD_in_JPEG" has internal linkage, occurs in a context that requires its definition, and has no definition. (missingfunc) static int exif_process_IFD_in_JPEG(image_info_type *ImageInfo, char *dir_entry, char *offset_base, size_t IFDlength, size_t displacement, int section_index TSR MLS_DC); -----------^ *** Exit 1 Stop.