Hi,
lint main.c reports:
malformed format string
fprintf main.c(8)
// main.c
#include <wchar.h>
#include <stdio.h>
int main(int argc, char* argv[])
{
wchar_t SI='A';
(void) fprintf(stdout, "%wc\n", SI);
return 0;
}
//
but the printf(3s) manpage documents the wc conversion specifier:
wc The int argument is converted to a wide character
(wchar_t), and the resulting wide character is
printed.
Where is the error?
Tomas Klacko
_______________________________________________
tools-compilers mailing list
[email protected]