Avoid some "gcc -pedantic" warnings.
[gnulib.git] / modules / wchar
1 Description:
2 A <wchar.h> that works around platform issues.
3
4 Files:
5 lib/wchar.in.h
6 m4/wchar.m4
7
8 Depends-on:
9 include_next
10 link-warning
11
12 configure.ac:
13 gl_WCHAR_H
14
15 Makefile.am:
16 BUILT_SOURCES += $(WCHAR_H)
17
18 # We need the following in order to create <wchar.h> when the system
19 # version does not work standalone.
20 wchar.h: wchar.in.h
21         rm -f $@-t $@
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
23           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
24               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
25               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
26               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
27               -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
28               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
29               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
30               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
31             < $(srcdir)/wchar.in.h; \
32         } > $@-t
33         mv $@-t $@
34 MOSTLYCLEANFILES += wchar.h wchar.h-t
35
36 Include:
37 #include <wchar.h>
38
39 License:
40 LGPLv2+
41
42 Maintainer:
43 all