Skip to content

build: include system ICU headers with -isystem - #66928

Closed
khemssharma wants to merge 1 commit into
nodejs:mainfrom
khemssharma:fix-system-icu-isystem
Closed

khemssharma wants to merge 1 commit into
nodejs:mainfrom
khemssharma:fix-system-icu-isystem

Conversation

@khemssharma

Copy link
Copy Markdown

With --error-on-warn now enabled in test-shared.yml, warnings emitted from third-party ICU headers (e.g. clang's
-Wunnecessary-virtual-specifier in unicode/uniset.h) were turned into errors on x86_64-darwin. Pass system ICU include dirs via -isystem so only Node.js-specific warnings fail the build.

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run. labels Oct 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Welcome to Node.js, and thank you for your first contribution!

Before review, please take a moment to read:

Please make sure every commit is signed off. For a first pull request, GitHub Actions require collaborator approval and Jenkins CI must be started by a collaborator or triager, so an initial wait is normal.

With --error-on-warn now enabled in test-shared.yml, warnings emitted
from third-party ICU headers (e.g. clang's
-Wunnecessary-virtual-specifier in unicode/uniset.h) were turned into
errors on x86_64-darwin. Pass system ICU include dirs via -isystem so
only Node.js-specific warnings fail the build.

Signed-off-by: Ayush Sharma <ayushsharma3310@gmail.com>
@khemssharma
khemssharma force-pushed the fix-system-icu-isystem branch from 2d37ae9 to a4f609b Compare October 22, 2026 12:43
@panva
panva requested a review from aduh95 October 22, 2026 12:49
@aduh95

aduh95 commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

This defeats the purpose of 796a83a, and I don’t think it’s worth doing. The current state of things works fine without any warnings on all platforms but x64 macOS, which is experimental only

@aduh95 aduh95 closed this Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants