GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing github.com — build: fix GCC warnings when building V8 with gnu++20 by joyeecheung · Pull Request #67279 · nodejs/node Conversation
Member
This silences the following warning from GCC:
Also move -fvisibility-inlines-hidden from cflags to cflags_cc in tools/v8_gypfiles/v8.gyp to fix the following warning. cc1: warning: command-line option '-fvisibility-inlines-hidden' is
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. This silences the following warning from GCC: - deps/v8/src/base/flags.h: call to non-constexpr function `std::__atomic_base<unsigned char>::operator unsigned char() const` in the defaulted `constexpr Flags::operator==` when instantiated with `std::atomic<uint8_t>` storage [-Winvalid-constexpr] - deps/v8/include/v8-wasm.h: call to non-constexpr function `std::unique_ptr<const unsigned char[]>::get() const` in `constexpr OwnedBuffer::as_span()` [-Winvalid-constexpr] - deps/v8/src/execution/simulator.h: ‘nodebug’ attribute directive ignored [-Wattributes] Also move -fvisibility-inlines-hidden from cflags to cflags_cc in tools/v8_gypfiles/v8.gyp to fix the following warning. cc1: warning: command-line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C Signed-off-by: Joyee Cheung <[email protected]>
joyeecheung
force-pushed
the
fix-warning
branch
from
43b3786 to
6f8984c
Compare
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
jasnell
approved these changes
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
lpinca
approved these changes
This comment was marked as outdated.
legendecas
approved these changes
sxa
approved these changes
This comment was marked as outdated.
gurgunday
approved these changes
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page.
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
aduh95
pushed a commit
that referenced
this pull request
This silences the following warning from GCC: - deps/v8/src/base/flags.h: call to non-constexpr function `std::__atomic_base<unsigned char>::operator unsigned char() const` in the defaulted `constexpr Flags::operator==` when instantiated with `std::atomic<uint8_t>` storage [-Winvalid-constexpr] - deps/v8/include/v8-wasm.h: call to non-constexpr function `std::unique_ptr<const unsigned char[]>::get() const` in `constexpr OwnedBuffer::as_span()` [-Winvalid-constexpr] - deps/v8/src/execution/simulator.h: ‘nodebug’ attribute directive ignored [-Wattributes] Also move -fvisibility-inlines-hidden from cflags to cflags_cc in tools/v8_gypfiles/v8.gyp to fix the following warning. cc1: warning: command-line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C Signed-off-by: Joyee Cheung <[email protected]> PR-URL: #67279 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Stewart X Addison <[email protected]> Reviewed-By: Gürgün Dayıoğlu <[email protected]>
gabylb
pushed a commit
to gabylb/node
that referenced
this pull request
This silences the following warning from GCC: - deps/v8/src/base/flags.h: call to non-constexpr function `std::__atomic_base<unsigned char>::operator unsigned char() const` in the defaulted `constexpr Flags::operator==` when instantiated with `std::atomic<uint8_t>` storage [-Winvalid-constexpr] - deps/v8/include/v8-wasm.h: call to non-constexpr function `std::unique_ptr<const unsigned char[]>::get() const` in `constexpr OwnedBuffer::as_span()` [-Winvalid-constexpr] - deps/v8/src/execution/simulator.h: ‘nodebug’ attribute directive ignored [-Wattributes] Also move -fvisibility-inlines-hidden from cflags to cflags_cc in tools/v8_gypfiles/v8.gyp to fix the following warning. cc1: warning: command-line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C Signed-off-by: Joyee Cheung <[email protected]> PR-URL: nodejs#67279 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Stewart X Addison <[email protected]> Reviewed-By: Gürgün Dayıoğlu <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
author ready
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | ||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |