Summary: | Build fails with LTO | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Eli Schwartz <eschwartz93> |
Component: | buildsystem | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 5.1.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/office/kmymoney/-/commit/eef04f1e9dc9f765ec74320008f095870e16a537 | Version Fixed In: | 5.1.4 |
Sentry Crash Report: | |||
Attachments: | build.log |
Description
Eli Schwartz
2024-05-03 03:19:04 UTC
https://invent.kde.org/office/kmymoney/-/blob/b49b51460c3314562fb88d81a28b58f5637f2b23/kmymoney/dialogs/kcurrencyeditdlg.cpp#L51 ``` // duplicated eMenu namespace from menuenums.h for consistency // there shouldn't be any clash, because we don't need menuenums.h here namespace eMenu { enum class Action { // ************* // The currency menu // ************* NewCurrency, RenameCurrency, DeleteCurrency, SetBaseCurrency, ``` no clash? Which version of the compiler are you using (I assume it's g++)? Per the cmake configure output in the attached log: ``` -- The CXX compiler identification is GNU 13.2.1 -- Detecting CXX compiler ABI info ``` Git commit eef04f1e9dc9f765ec74320008f095870e16a537 by Thomas Baumgart. Committed on 03/05/2024 at 16:30. Pushed by tbaumgart into branch '5.1'. Avoid violation of the C++ One Definition Rule FIXED-IN: 5.1.4 M +7 -21 kmymoney/dialogs/kcurrencyeditdlg.cpp M +9 -23 kmymoney/dialogs/kmymoneypricedlg.cpp M +10 -0 kmymoney/menus/menuenums.h https://invent.kde.org/office/kmymoney/-/commit/eef04f1e9dc9f765ec74320008f095870e16a537 Git commit 726e6b82ac1e6182de574ed5e0c12b7cfcd74441 by Thomas Baumgart. Committed on 03/05/2024 at 16:46. Pushed by tbaumgart into branch 'master'. Avoid violation of the C++ One Definition Rule (cherry picked from commit eef04f1e9dc9f765ec74320008f095870e16a537) M +7 -22 kmymoney/dialogs/kcurrencyeditdlg.cpp M +1 -16 kmymoney/dialogs/kmymoneypricedlg.cpp M +10 -0 kmymoney/menus/menuenums.h https://invent.kde.org/office/kmymoney/-/commit/726e6b82ac1e6182de574ed5e0c12b7cfcd74441 |