On fresh gcc-linux the build fails as:
aarg.h: In member function 'bool Aargh::loadConf(const char*)':
aarg.h:104:15: error: 'strcmp' was not declared in this scope
104 | if (strcmp (key, "") && strcmp (value, ""))
| ^~~~~~
aarg.h:9:1: note: 'strcmp' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
8 | #include <map>
+++ |+#include <cstring>
9 | #include <string>
The following one-liner (also attached as a patch) fixes the build:
--- a/aarg.h
+++ b/aarg.h
@@ -5,6 +5,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
+#include <cstring>
#include <map>
#include <string>
#include <sstream>
Hi Sergei, thanks.
unistd.h was missing as well.
We fixed it and we moved the repo to github: https://github.com/ctrl-z-bg/gav
Last edit: Cesare Zavattari 2022-04-26
we also added themes to main repo