• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

The MinGW.org Windows System Libraries


Commit MetaInfo

Revisão7602ad983922b3d73049121fd49b113a635ee3ee (tree)
Hora2016-10-18 20:02:44
AutorKeith Marshall <keithmarshall@user...>
CommiterKeith Marshall

Mensagem de Log

Merge mingwrt-3.22.4 updates into 5.0-active branch.

Mudança Sumário

Diff

--- a/.hgtags
+++ b/.hgtags
@@ -7,3 +7,4 @@ c42986e81e9ce0a5fcf8f09012f9d0f038032bac mingwrt-3.22.1-release
77 96dcdb8540b8cdebba812d8125ed29761ec9aa39 mingwrt-3.22.2-release
88 cd725d6ae238714355b000ae9d7c6f3ace34317d w32api-3.18.2-release
99 9db085b7464425de03f96232b5e6f48d119d8713 mingwrt-3.22.3-release
10+e92b7e85ef0890284b99d2c8243519f77457e2be mingwrt-3.22.4-release
--- a/mingwrt/ChangeLog
+++ b/mingwrt/ChangeLog
@@ -1,3 +1,26 @@
1+2016-10-18 Keith Marshall <keithmarshall@users.sourceforge.net>
2+
3+ Merge mingwrt-3.22.4 updates into 5.0-active branch.
4+
5+ * configure.ac: Preserve original 5.0-active state.
6+ * include/wchar.h: Update per 2016-10-17 commits.
7+
8+2016-10-17 Keith Marshall <keithmarshall@users.sourceforge.net>
9+
10+ Prepare and tag mingwrt-3.22.4 patch release.
11+
12+ * configure.ac (AC_INIT): Increment patch level.
13+
14+2016-10-17 Keith Marshall <keithmarshall@users.sourceforge.net>
15+
16+ Resolve an ANSI mode <string.h> vs. <wchar.h> conflict.
17+
18+ * include/wchar.h [!(_WCHAR_H && _STRING_H)]: Change condition...
19+ [!(_WCHAR_H && (_STRING_H && !__STRICT_ANSI__))]: ...to this; the
20+ guarded declarations are not exposed by including <string.h> when...
21+ [__STRICT_ANSI__]: ...this is defined; hence, we must declare them
22+ when including <wchar.h>, even after including <string.h>
23+
124 2016-10-14 Keith Marshall <keithmarshall@users.sourceforge.net>
225
326 Add dependency tracking for tests/Makefile.
--- a/mingwrt/include/wchar.h
+++ b/mingwrt/include/wchar.h
@@ -378,10 +378,13 @@ _BEGIN_C_DECLS
378378 */
379379 #endif /* ! RC_INVOKED */
380380 #endif /* !__STRING_H_SOURCED__ */
381-#if ! (defined RC_INVOKED || (defined _WCHAR_H && defined _STRING_H))
382-/* ...such that these declarations are exposed when either _WCHAR_H, or
383- * _STRING_H is defined, (but not both, since that would indicate that
384- * these declarations have already been processed).
381+#if ! defined RC_INVOKED
382+#if !(defined _WCHAR_H && (defined _STRING_H && ! defined __STRICT_ANSI__))
383+/* ...such that these declarations are exposed when either _WCHAR_H is defined,
384+ * or when _STRING_H is defined and __STRICT_ANSI__ is not, but NOT when BOTH of
385+ * these apply, since that indicates that this group of declarations has already
386+ * been processed, during partial inclusion of <wchar.h> by <string.h>, whereas
387+ * we are now including <wchar.h> in its own right.
385388 *
386389 *
387390 * Wide character versions of the ISO-C standard string functions.
@@ -468,9 +471,10 @@ _CRTIMP __cdecl __MINGW_NOTHROW wchar_t *wcsupr (wchar_t *);
468471 * inclusion of <string.h>; revert the declarative condition, to make it
469472 * specific to <wchar.h> alone.
470473 */
471-#endif /* !(RC_INVOKED || (_WCHAR_H && _STRING_H)) */
472-#if defined _WCHAR_H && ! defined RC_INVOKED
474+#endif /* !(_WCHAR_H && (_STRING_H && !__STRICT_ANSI__)) */
475+#endif /* ! RC_INVOKED */
473476
477+#if defined _WCHAR_H && ! defined RC_INVOKED
474478 #ifndef __STRICT_ANSI__
475479 typedef wchar_t _Wint_t;
476480 #endif