|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1934 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 1934.
Report 1934 Actions
Problem Report Number 1934 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0570 Raised 2003-02-21 08:00 Updated 2003-03-13 08:00 Published null Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSX4 version 4.5.3 Test Identification XPG4.hdr/misc/iconv 4 Problem Summary PG5R.013 There is a PIN for this assertion for the previous test version, PIN5.009. The problem in that pin is similiar but the source of the problem was: Error is caused by the following declaration which can... Problem Text
There is a PIN for this assertion for the previous test version, PIN5.009.
The problem in that pin is similiar but the source of the problem was:
Error is caused by the following declaration which can be find at line
121 in the L.iconv module:
size_t iconv(iconv_t, char **, size_t *, char **, size_t *);
According to "X/Open System Interfaces and Headers, Issue 4" at page 206,
it should be:
size_t iconv(iconv_t cd, const char **inbuf, size_t *inbytesleft,
char **outbuf, size_t *outbytesleft);
That is, the second argument is "const char **" and not "char **".
L.iconv has been changed since the PIN was granted and that line no longer
appears. It is clear that the test is not passing for the same reasons
though, just coming from a different incorrect line of code in the suite.Test Output
************************************************************************
********************
/tset/XPG4.hdr/misc/iconv/T.iconv 4 Failed
Test Description:
The header file contains a prototype form function declaration for
iconv().
Test Strategy:
UNDEFINE macro version of iconv()
COMPARE return value against item of the same type.
USE return value as an array reference.
ASSIGN return value to an item of the same type.
ASSIGN address of function to item of the same type.
IF prototype testing is required
VERIFY a prototype exists
SUPPLY a correct prototype
Test Information:
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500
Compiler or run-time messages or results:
"cc04es.c", line 33: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 36: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 38: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 40: warning: assignment type mismatch:
pointer to function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int "=" pointer to function(poin
ter to struct
_iconv_info {}, pointer to po
inter to const char, pointer to unsigned int, pointer to pointer to char
, pointer to
unsigned int) returning unsigned int
"cc04es.c", line 52: identifier redeclared: iconv
current : function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int
previous: function(pointer to struct _iconv_info {}, pointer to
pointer to const
char, pointer to unsigned int, pointer to pointer to cha
r, pointer to
unsigned int) returning unsigned int : "/usr/include/ico
nv.h", line 20
c89: acomp failed for cc04es.c
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_SOURCE
Compiler or run-time messages or results:
"cc04es.c", line 33: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 36: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 38: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 40: warning: assignment type mismatch:
pointer to function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int "=" pointer to function(poin
ter to struct
_iconv_info {}, pointer to po
inter to const char, pointer to unsigned int, pointer to pointer to char
, pointer to
unsigned int) returning unsigned int
"cc04es.c", line 52: identifier redeclared: iconv
current : function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int
previous: function(pointer to struct _iconv_info {}, pointer to
pointer to const
char, pointer to unsigned int, pointer to pointer to cha
r, pointer to
unsigned int) returning unsigned int : "/usr/include/ico
nv.h", line 20
c89: acomp failed for cc04es.c
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=1
Compiler or run-time messages or results:
"cc04es.c", line 33: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 36: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 38: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 40: warning: assignment type mismatch:
pointer to function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int "=" pointer to function(poin
ter to struct
_iconv_info {}, pointer to po
inter to const char, pointer to unsigned int, pointer to pointer to char
, pointer to
unsigned int) returning unsigned int
"cc04es.c", line 52: identifier redeclared: iconv
current : function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int
previous: function(pointer to struct _iconv_info {}, pointer to
pointer to const
char, pointer to unsigned int, pointer to pointer to cha
r, pointer to
unsigned int) returning unsigned int : "/usr/include/ico
nv.h", line 20
c89: acomp failed for cc04es.c
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=1 -D_POSIX_SO
URCE
Compiler or run-time messages or results:
"cc04es.c", line 33: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 36: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 38: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 40: warning: assignment type mismatch:
pointer to function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int "=" pointer to function(poin
ter to struct
_iconv_info {}, pointer to po
inter to const char, pointer to unsigned int, pointer to pointer to char
, pointer to
unsigned int) returning unsigned int
"cc04es.c", line 52: identifier redeclared: iconv
current : function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int
previous: function(pointer to struct _iconv_info {}, pointer to
pointer to const
char, pointer to unsigned int, pointer to pointer to cha
r, pointer to
unsigned int) returning unsigned int : "/usr/include/ico
nv.h", line 20
c89: acomp failed for cc04es.c
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=2
Compiler or run-time messages or results:
"cc04es.c", line 33: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 36: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 38: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 40: warning: assignment type mismatch:
pointer to function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int "=" pointer to function(poin
ter to struct
_iconv_info {}, pointer to po
inter to const char, pointer to unsigned int, pointer to pointer to char
, pointer to
unsigned int) returning unsigned int
"cc04es.c", line 52: identifier redeclared: iconv
current : function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int
previous: function(pointer to struct _iconv_info {}, pointer to
pointer to const
char, pointer to unsigned int, pointer to pointer to cha
r, pointer to
unsigned int) returning unsigned int : "/usr/include/ico
nv.h", line 20
c89: acomp failed for cc04es.c
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=2 -D_POSIX_SO
URCE
Compiler or run-time messages or results:
"cc04es.c", line 33: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 36: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 38: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 40: warning: assignment type mismatch:
pointer to function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int "=" pointer to function(poin
ter to struct
_iconv_info {}, pointer to po
inter to const char, pointer to unsigned int, pointer to pointer to char
, pointer to
unsigned int) returning unsigned int
"cc04es.c", line 52: identifier redeclared: iconv
current : function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int
previous: function(pointer to struct _iconv_info {}, pointer to
pointer to const
char, pointer to unsigned int, pointer to pointer to cha
r, pointer to
unsigned int) returning unsigned int : "/usr/include/ico
nv.h", line 20
c89: acomp failed for cc04es.c
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199309
Compiler or run-time messages or results:
"cc04es.c", line 33: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 36: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 38: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 40: warning: assignment type mismatch:
pointer to function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int "=" pointer to function(poin
ter to struct
_iconv_info {}, pointer to po
inter to const char, pointer to unsigned int, pointer to pointer to char
, pointer to
unsigned int) returning unsigned int
"cc04es.c", line 52: identifier redeclared: iconv
current : function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int
previous: function(pointer to struct _iconv_info {}, pointer to
pointer to const
char, pointer to unsigned int, pointer to pointer to cha
r, pointer to
unsigned int) returning unsigned int : "/usr/include/ico
nv.h", line 20
c89: acomp failed for cc04es.c
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199309 -D_POS
IX_SOURCE
Compiler or run-time messages or results:
"cc04es.c", line 33: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 36: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 38: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 40: warning: assignment type mismatch:
pointer to function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int "=" pointer to function(poin
ter to struct
_iconv_info {}, pointer to po
inter to const char, pointer to unsigned int, pointer to pointer to char
, pointer to
unsigned int) returning unsigned int
"cc04es.c", line 52: identifier redeclared: iconv
current : function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int
previous: function(pointer to struct _iconv_info {}, pointer to
pointer to const
char, pointer to unsigned int, pointer to pointer to cha
r, pointer to
unsigned int) returning unsigned int : "/usr/include/ico
nv.h", line 20
c89: acomp failed for cc04es.c
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506
Compiler or run-time messages or results:
"cc04es.c", line 33: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 36: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 38: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 40: warning: assignment type mismatch:
pointer to function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int "=" pointer to function(poin
ter to struct
_iconv_info {}, pointer to po
inter to const char, pointer to unsigned int, pointer to pointer to char
, pointer to
unsigned int) returning unsigned int
"cc04es.c", line 52: identifier redeclared: iconv
current : function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int
previous: function(pointer to struct _iconv_info {}, pointer to
pointer to const
char, pointer to unsigned int, pointer to pointer to cha
r, pointer to
unsigned int) returning unsigned int : "/usr/include/ico
nv.h", line 20
c89: acomp failed for cc04es.c
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506 -D_POS
IX_SOURCE
Compiler or run-time messages or results:
"cc04es.c", line 33: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 36: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 38: warning: argument #2 is incompatible with prototype
:
prototype: pointer to pointer to const char : "/usr/include/icon
v.h", line 20
argument : pointer to pointer to char
"cc04es.c", line 40: warning: assignment type mismatch:
pointer to function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int "=" pointer to function(poin
ter to struct
_iconv_info {}, pointer to po
inter to const char, pointer to unsigned int, pointer to pointer to char
, pointer to
unsigned int) returning unsigned int
"cc04es.c", line 52: identifier redeclared: iconv
current : function(pointer to struct _iconv_info {}, pointer to
pointer to char,
pointer to unsigned int, pointer to pointer to char, poi
nter to unsigned
int) returning unsigned int
previous: function(pointer to struct _iconv_info {}, pointer to
pointer to const
char, pointer to unsigned int, pointer to pointer to cha
r, pointer to
unsigned int) returning unsigned int : "/usr/include/ico
nv.h", line 20
c89: acomp failed for cc04es.c
************************************************************************
********************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
Although the style of compiler diagnostic is different, it is clear
that the test is failing for the same reason as in PIN5.009. I.e. the
test code expects a "char **" argument where the iconv() prototype in
the system's <iconv.h> header had "const char **".
Thus this failure is already covered by PIN5.009 and there is no need
to issue another PIN.
It is recommended that this request is refused.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 1934
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority