uptane / aktualizr

C++ Uptane Client
Mozilla Public License 2.0
15 stars 15 forks source link

Fix build with gcc-12 #76

Closed shr-project closed 2 years ago

shr-project commented 2 years ago
shr-project commented 2 years ago

@cajun-rat @pattivacek

pattivacek commented 2 years ago

Sorry, this is a bit annoying, but the formatter is failing because the includes aren't in alphabetical order. For example:

--- ../../include/libaktualizr/packagemanagerinterface.h    2022-05-25 08:29:52.291712352 +0000
+++ -   2022-05-25 08:30:46.020169360 +0000
@@ -1,9 +1,9 @@
 #ifndef PACKAGEMANAGERINTERFACE_H_
 #define PACKAGEMANAGERINTERFACE_H_

+#include <fstream>
 #include <mutex>
 #include <string>
-#include <fstream>

 #include "libaktualizr/config.h"

Found unformatted code! Run make format