Bug 437376 - Build failures with GCC 11.1.0 caused by 40b95326e2d1a3ac216b6e957430165e4fbc8417
Summary: Build failures with GCC 11.1.0 caused by 40b95326e2d1a3ac216b6e957430165e4fbc...
Status: RESOLVED FIXED
Alias: None
Product: drkonqi
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-19 21:07 UTC by Kyle Devir
Modified: 2021-05-21 11:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Devir 2021-05-19 21:07:28 UTC
```
/run/media/valmar/DataSSD/kde/sources/plasma/drkonqi/src/coredump/processor/main.cpp:149:13: error: ‘optional’ in namespace ‘std’ does not name a template type
  149 | static std::optional<Coredump> makeDump(sd_journal *context)
      |             ^~~~~~~~
/run/media/valmar/DataSSD/kde/sources/plasma/drkonqi/src/coredump/processor/main.cpp:27:1: note: ‘std::optional’ is defined in header ‘<optional>’; did you forget to ‘#include <optional>’?
   26 | #include "../socket.h"
  +++ |+#include <optional>
   27 | 
/run/media/valmar/DataSSD/kde/sources/plasma/drkonqi/src/coredump/processor/main.cpp: In member function ‘void CoredumpWatcher::processLog()’:
/run/media/valmar/DataSSD/kde/sources/plasma/drkonqi/src/coredump/processor/main.cpp:194:35: error: ‘makeDump’ was not declared in this scope
  194 |         const auto optionalDump = makeDump(context.get());
      |                                   ^~~~~~~~
```