This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Incompatible pointer type warning in libc/reent
- From: Yaakov Selkowitz <yselkowi at redhat dot com>
- To: newlib at sourceware dot org
- Date: Wed, 10 Aug 2016 12:10:33 -0500
- Subject: Incompatible pointer type warning in libc/reent
- Authentication-results: sourceware.org; auth=none
While building Cygwin with -Werror in CFLAGS:
newlib/libc/reent/impure.c:23:62: error: initialization from
incompatible pointer type [-Werror=incompatible-pointer-types]
static struct _reent __ATTRIBUTE_IMPURE_DATA__ impure_data =
_REENT_INIT (impure_data);
^
newlib/libc/reent/impure.c:23:62: note: (near initialization for
‘impure_data._locale’)
--
Yaakov Selkowitz
Software Engineer - Platform Enablement Group
Red Hat, Inc.