Skip to content

[libunwind] Merge 221c5af4e into 10.0 #44266

@DimitryAndric

Description

@DimitryAndric
Bugzilla Link 44921
Resolution FIXED
Resolved on Feb 19, 2020 04:29
Version trunk
OS All
Blocks #43900
CC @zmodem,@nico

Extended Description

Please merge 221c5af into the 10.x branch. This fixes a new -Werror warning from clang 10.0.0 in libunwind:

In file included from libunwind/src/libunwind.cpp:22:
libunwind/src/UnwindCursor.hpp:1455:51: error: operator '?:' has lower precedence than '|'; '|' will be evaluated first [-Werror,-Wbitwise-conditional-parentheses]
_info.flags = isSingleWordEHT ? 1 : 0 | scope32 ? 0x2 : 0; // Use enum?
~~~~~~~~~~~ ^
libunwind/src/UnwindCursor.hpp:1455:51: note: place parentheses around the '|' expression to silence this warning
_info.flags = isSingleWordEHT ? 1 : 0 | scope32 ? 0x2 : 0; // Use enum?
^
( )
libunwind/src/UnwindCursor.hpp:1455:51: note: place parentheses around the '?:' expression to evaluate it first
_info.flags = isSingleWordEHT ? 1 : 0 | scope32 ? 0x2 : 0; // Use enum?
^
( )

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions