Problem Report Number |
0008 |
Submitter's Classification |
Certification System problem |
State |
Resolved |
Resolution |
Rejected (REJ) |
Problem Resolution ID |
REJ.PX.0007 |
Raised |
2004-03-30 05:15 |
Updated |
2004-04-05 15:06 |
Published |
2004-04-05 15:06 |
Product Standard |
1003.1-2003 System Interfaces |
Certification Program |
POSIX Certified by IEEE and The Open Group |
Test Suite |
VSX-PCTS2003 version 1.0 |
Test Identification |
tset/ANSI.os/streamio/clearerr/T.clearerr
tset/ANSI.os/streamio/printf/T.printf
tset/ANSI.os/streamio/scanf/T.scanf
tset/ANSI.os/streamio/vprintf/T |
Problem Summary |
Various wide character functions are not prototyped correctly when
TEST_XCOMP is defined |
Problem Text |
TSETLIB_H_WCHAR is not defined when TEST_XCOMP is defined, causing the
following functions not to be prototyped:
#if TSETLIB_H_WCHAR
extern int mbytestr(char **, char **);
extern int wcharcfg(struct wchar *);
extern int wcharstr(char **, wchar_t **);
#endif /* TSETLIB_H_WCHAR */
This causes build errors in many tests |
Test Output |
(Example)
/tset/ANSI.os/streamio/clearerr/T.clearerr Failed
...
"printf.c", line 545: error #20: identifier "wcharstr" is undefined
if(wcharstr(&locale, &wcstr) != 0)
^
make: *** [printf.o] Error 1
|