Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: do not pass invalid flag to C compiler #51409

Closed
wants to merge 1 commit into from

Conversation

targos
Copy link
Member

@targos targos commented Jan 9, 2024

-Wno-invalid-offsetof is only valid for C++ and GCC warns about its
usage for C.

`-Wno-invalid-offsetof` is only valid for C++ and GCC warns about its
usage for C.
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/v8-update

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory. v8 engine Issues and PRs related to the V8 dependency. labels Jan 9, 2024
@targos targos added the request-ci Add this label to start a Jenkins CI on a PR. label Jan 9, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 9, 2024
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot

This comment was marked as off-topic.

@nodejs-github-bot

This comment was marked as off-topic.

@nodejs-github-bot

This comment was marked as off-topic.

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

targos added a commit that referenced this pull request Jan 15, 2024
`-Wno-invalid-offsetof` is only valid for C++ and GCC warns about its
usage for C.

PR-URL: #51409
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
@targos
Copy link
Member Author

targos commented Jan 15, 2024

Landed in b180512

@targos targos closed this Jan 15, 2024
@targos targos deleted the no-invalid-offsetof branch January 15, 2024 11:30
Medhansh404 pushed a commit to Medhansh404/node that referenced this pull request Jan 19, 2024
`-Wno-invalid-offsetof` is only valid for C++ and GCC warns about its
usage for C.

PR-URL: nodejs#51409
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
targos added a commit that referenced this pull request Feb 15, 2024
`-Wno-invalid-offsetof` is only valid for C++ and GCC warns about its
usage for C.

PR-URL: #51409
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
@marco-ippolito marco-ippolito mentioned this pull request Mar 1, 2024
richardlau pushed a commit that referenced this pull request Mar 25, 2024
`-Wno-invalid-offsetof` is only valid for C++ and GCC warns about its
usage for C.

PR-URL: #51409
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
richardlau pushed a commit that referenced this pull request Mar 25, 2024
`-Wno-invalid-offsetof` is only valid for C++ and GCC warns about its
usage for C.

PR-URL: #51409
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
@richardlau richardlau mentioned this pull request Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory. v8 engine Issues and PRs related to the V8 dependency.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants