projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
regex: avoid new dead-code warning with gcc-4.6.0
[gnulib.git]
/
modules
/
wchar
diff --git
a/modules/wchar
b/modules/wchar
index
f7333cc
..
da1c2b3
100644
(file)
--- a/
modules/wchar
+++ b/
modules/wchar
@@
-3,23
+3,26
@@
A <wchar.h> that works around platform issues.
Files:
lib/wchar.in.h
Files:
lib/wchar.in.h
-m4/wchar.m4
+m4/wchar
_h
.m4
m4/wint_t.m4
Depends-on:
m4/wint_t.m4
Depends-on:
+arg-nonnull
+c++defs
include_next
include_next
-link-warning
+stddef
+warn-on-use
configure.ac:
gl_WCHAR_H
Makefile.am:
configure.ac:
gl_WCHAR_H
Makefile.am:
-BUILT_SOURCES +=
$(WCHAR_H)
+BUILT_SOURCES +=
wchar.h
# We need the following in order to create <wchar.h> when the system
# version does not work standalone.
# We need the following in order to create <wchar.h> when the system
# version does not work standalone.
-wchar.h: wchar.in.h
- rm -f $@-t $@
+wchar.h: wchar.in.h
$(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
+ $(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
@@
-58,15
+61,18
@@
wchar.h: wchar.in.h
-e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
-e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
-e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
-e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
-e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
-e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
+ -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
-e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
-e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
- -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
< $(srcdir)/wchar.in.h; \
< $(srcdir)/wchar.in.h; \
- } > $@-t
+ } > $@-t
&& \
mv $@-t $@
MOSTLYCLEANFILES += wchar.h wchar.h-t
Include:
mv $@-t $@
MOSTLYCLEANFILES += wchar.h wchar.h-t
Include:
-
#include
<wchar.h>
+<wchar.h>
License:
LGPLv2+
License:
LGPLv2+