Skip to content

Commit aa03bde

Browse files
authored
Fix/archlinux fmt (#241)
* fix: archlinux builds fail On ArchLinux Imhex is built using USE_SYSTEM_FMT which was updated to 12.2.0 last week. Part of the update makes it mandatory for code that needs to use fmt::format to include fmt/format.h explicitly because fmt/core.h is now equivalent to fmt/base.h. Note that Imhex use the header only version when the system fmt is not used and with the header only version fmt/base.h also includes fmt/format.h so this is only needed for archlinux even if we update fmt to 12.2.0. * fix: archlinux builds fail forgot about this one...
1 parent cd1b2ee commit aa03bde

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/include/pl/core/errors/error.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <pl/helpers/types.hpp>
44
#include <pl/core/location.hpp>
55

6-
#include <fmt/core.h>
6+
#include <fmt/format.h>
77

88
#include <string>
99
#include <utility>

lib/include/pl/core/parser.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
#include <pl/core/errors/result.hpp>
2020

21-
#include <fmt/core.h>
21+
#include <fmt/format.h>
2222

2323
#include <functional>
2424
#include <map>

0 commit comments

Comments
 (0)