Closed nolrinale closed 6 months ago
This could be because libc++ and libstdc++ include different headers "behind the scenes" (in other headers). Please try to add #include <algorithm>
to the includes, that should fix it:
#include <stdio.h>
#include "Cli.hh"
#include "IndexFormats/Formats.hh"
#include "ResourceFile.hh"
#include "TextCodecs.hh"
#include <phosg/Filesystem.hh>
#include <algorithm> // <===
#include <stdexcept>
#include <string>
#include <unordered_map>
#include <unordered_set>
Thank you Kristine, adding #include <algorithm>
to the files RealmzGlobalData.hh
and ResourceIDs.hh
allowed the building process to complete
Thanks - I've added the include to both files.
I keep receiving this error while trying to build the library in Fedora 40