Skip to content

Conversation

zmajeed
Copy link
Contributor

@zmajeed zmajeed commented Sep 27, 2024

These two changes fix builds that don't use cmake unity described in issue #14151

  1. Remove header inclusion guard in windows_undefs.hpp to insure certain Win32 macros are always undefined - this is okay because all these #undef are guarded by #ifdef WIN32

  2. Copy deletion of ICU undefine of __STRICT_ANSI__ from ICU upstream that conflicts with GCC-14 header files - this duplicates ICU-22721 Delete obsolete __STRICT_ANSI__ workaround for MinGW unicode-org/icu#3003 - it would be better to pull the latest ICU in but ICU is used in a customized way that would require more effort - also looks like fix won't be released till ICU 75.2 which is not yet released - https://unicode-org.atlassian.net/browse/ICU-22721

… Win32 macros are always undefined. Copy deletion of ICU undefine of __STRICT_ANSI__ from ICU upstream that conflicts with GCC-14 header files
@hannes hannes requested a review from hawkfish September 30, 2024 09:11
@hannes
Copy link
Member

hannes commented Sep 30, 2024

Thanks so much for looking into this, maybe @hawkfish can double-check the ICU changes?

Copy link
Contributor

@hawkfish hawkfish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ICU change is in the latest code, but we are still on 66-1. Changing that is its own special hell...

@szarnyasg szarnyasg requested a review from hannes October 2, 2024 09:41
@Mytherin Mytherin merged commit 2f6b78c into duckdb:main Oct 3, 2024
40 checks passed
@Mytherin
Copy link
Collaborator

Mytherin commented Oct 3, 2024

Thanks!

github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Oct 16, 2024
Issue 14151: Fix conflicting defines on Windows hidden by cmake unity builds (duckdb/duckdb#14154)
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Oct 16, 2024
Issue 14151: Fix conflicting defines on Windows hidden by cmake unity builds (duckdb/duckdb#14154)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants