Skip to content

Conversation

@danbev
Copy link
Contributor

This commit adds -Wno-strict-aliasing to the icu_implementation target.
The motivation for this is that this flags is enabled when building with
macosx, and will make the output a little cleaner when building on
other operating systems.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-botnodejs-github-bot added i18n-api Issues and PRs related to the i18n implementation. tools Issues and PRs related to the tools directory. labels Sep 27, 2018
@danbev
Copy link
ContributorAuthor

This commit adds -Wno-strict-aliasing to the icu_implementation target. The motivation for this is that this flags is enabled when building with macosx, and will make the output a little cleaner when building on other operating systems.
@danbev
Copy link
ContributorAuthor

@refack
Copy link
Contributor

FYI, I have a WIP PR #22920, part of is to ignore warnings on /deps/ and only warn for /src/

 common.gypi | 1 - node.gypi | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/common.gypi b/common.gypi index e87bb0f5a4..4b436ac828 100644 --- a/common.gypi+++ b/common.gypi@@ -367,7 +367,6 @@ 'ldflags': [ '-pthread' ], }], [ 'OS in "linux freebsd openbsd solaris android aix cloudabi"',{- 'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ], 'cflags_cc': [ '-fno-rtti', '-fno-exceptions', '-std=gnu++1y' ], 'ldflags': [ '-rdynamic' ], 'target_conditions': [ diff --git a/node.gypi b/node.gypi index db29084335..15d8a02bcc 100644 --- a/node.gypi+++ b/node.gypi@@ -24,6 +24,7 @@ }, 'force_load%': '<(force_load)', }, + 'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ], 'conditions': [ [ 'node_shared=="false"',{'msvs_settings':{

@addaleax
Copy link
Member

@danbev
Copy link
ContributorAuthor

Re-run of failing node-test-commit-arm.
Re-run of failing node-test-commit-windows-fanned.

@danbev
Copy link
ContributorAuthor

Landed in f01adb5.

@danbevdanbev closed this Oct 4, 2018
@danbevdanbev deleted the build_icu_linux branch October 4, 2018 10:32
danbev added a commit that referenced this pull request Oct 4, 2018
This commit adds -Wno-strict-aliasing to the icu_implementation target. The motivation for this is that this flags is enabled when building with macosx, and will make the output a little cleaner when building on other operating systems. PR-URL: #23112 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
targos pushed a commit that referenced this pull request Oct 5, 2018
This commit adds -Wno-strict-aliasing to the icu_implementation target. The motivation for this is that this flags is enabled when building with macosx, and will make the output a little cleaner when building on other operating systems. PR-URL: #23112 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
@targostargos mentioned this pull request Oct 7, 2018
jasnell pushed a commit that referenced this pull request Oct 17, 2018
This commit adds -Wno-strict-aliasing to the icu_implementation target. The motivation for this is that this flags is enabled when building with macosx, and will make the output a little cleaner when building on other operating systems. PR-URL: #23112 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

i18n-apiIssues and PRs related to the i18n implementation.toolsIssues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@danbev@nodejs-github-bot@refack@addaleax@jasnell