[PATCH]Fix implicit declaration of function warning and error while compiling testsuite/newlib.wctype/tiswctype.c
Renlin Li
renlin.li@arm.com
Fri Jan 9 17:50:00 GMT 2015
Hi all,
This is a similar patch to this one:
https://sourceware.org/ml/newlib/2015/msg00004.html
And the description below is also similar.
newlib/testsuite/newlib.wctype/tiswctype.c fails to build in the
following targets:
aarch64-none-elf
arm-none-eabi
aarch64_be-none-elf
The following messages are produced:
newlib.wctype/tiswctype.c compilation warning: implicit declaration of
function (isalpha, isalnum, isblank etc.) [-Wimplicit-function-declaration]
Instead, wide character type functions should be called as wctype.h is
included.
Okay to commit?
Regards,
Renlin Li
newlib/ChangeLog:
2015-01-09 Renlin Li <renlin.li@arm.com>
* testsuite/newlib.wctype/tiswctype.c (main): Use wide character
type function.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: new.diff
Type: text/x-patch
Size: 2044 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20150109/362b74a3/attachment.bin>
More information about the Newlib
mailing list