Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 893302 Details for
Bug 932156
dev-libs/icu won't cross-compile for mingw with GCC 14
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
strict ansi patch
strict-ansi.patch (text/plain), 1.05 KB, created by
Mark Harmstone
on 2024-05-18 13:48:55 UTC
(
hide
)
Description:
strict ansi patch
Filename:
MIME Type:
Creator:
Mark Harmstone
Created:
2024-05-18 13:48:55 UTC
Size:
1.05 KB
patch
obsolete
>From 564c92d666354a8ed0f99cba0f239eba790bd148 Mon Sep 17 00:00:00 2001 >From: Fredrik Roubert <roubert@google.com> >Date: Fri, 10 May 2024 21:53:39 +0200 >Subject: [PATCH] ICU-22721 Delete obsolete __STRICT_ANSI__ workaround for > MinGW. > >This was originally added in the year 2004 for ICU-3854 but is no longer >needed with contemporary versions of MinGW where it instead as of GCC 14 >causes this problem: > >__STRICT_ANSI__ seems to have been undefined; this is not supported. >--- > icu4c/source/common/putil.cpp | 5 ----- > 1 file changed, 5 deletions(-) > >diff --git a/icu4c/source/common/putil.cpp b/icu4c/source/common/putil.cpp >index 92c7940827a9..edade89f98fd 100644 >--- a/common/putil.cpp >+++ b/common/putil.cpp >@@ -46,11 +46,6 @@ > // First, the platform type. Need this for U_PLATFORM. > #include "unicode/platform.h" > >-#if U_PLATFORM == U_PF_MINGW && defined __STRICT_ANSI__ >-/* tzset isn't defined in strict ANSI on MinGW. */ >-#undef __STRICT_ANSI__ >-#endif >- > /* > * Cygwin with GCC requires inclusion of time.h after the above disabling strict asci mode statement. > */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 932156
: 893302