Skip to content

build(gcc): use -fhardened option for gcc15 - #325

Draft
b1ackviking wants to merge 4 commits into
mainfrom
fhardened
Draft

build(gcc): use -fhardened option for gcc15#325
b1ackviking wants to merge 4 commits into
mainfrom
fhardened

Conversation

@b1ackviking

Copy link
Copy Markdown
Owner

No description provided.

@b1ackviking
b1ackviking enabled auto-merge (rebase) June 4, 2024 12:31
@codecov-commenter

codecov-commenter commented Jun 4, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.36%. Comparing base (45e0086) to head (4b898a8).

❗ There is a different number of reports uploaded between BASE (45e0086) and HEAD (4b898a8). Click for more details.

HEAD has 2 uploads less than BASE
Flag BASE (45e0086) HEAD (4b898a8)
linux-gcc-14 1 0
linux-clang-18 1 0
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #325      +/-   ##
==========================================
- Coverage   95.83%   89.36%   -6.48%     
==========================================
  Files           3        3              
  Lines          96       94       -2     
  Branches       13       16       +3     
==========================================
- Hits           92       84       -8     
  Misses          4        4              
- Partials        0        6       +6     
Flag Coverage Δ
linux-clang-18 ?
linux-gcc-14 ?
macos-clang 14.45% <ø> (ø)
windows-cl 100.00% <ø> (ø)
windows-clang 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@b1ackviking
b1ackviking force-pushed the fhardened branch 2 times, most recently from 9243819 to 5e3b2bf Compare June 4, 2024 12:51
@b1ackviking
b1ackviking marked this pull request as draft December 4, 2025 12:46
auto-merge was automatically disabled December 4, 2025 12:46

Pull request was converted to draft

@b1ackviking b1ackviking changed the title build(gcc): use -fhardened option for gcc14 build(gcc): use -fhardened option for gcc15 Jun 16, 2026
The MOCK_METHOD macro from GMock requires parentheses around arguments
list and specifiers list, so it must not be altered by RemoveParentheses
also, switch off hardenings for debug builds,
and move fortify sources under hardenings flag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants