Add missing standard library includes for self-sufficient headers

Fixes builds with newer GCC/libstdc++ that no longer provide <cstdint>,
<cstring>, <cfloat>, <memory>, <algorithm> etc. transitively. Also
disambiguates visit<> calls in taxonomy.h with the full namespace and
casts the character value in IfcCharacterDecoder to uint32_t to silence
ambiguous overload warnings.
This commit is contained in:
Bruno Postle
2026-06-04 22:23:19 +01:00
committed by Thomas Krijnen
parent 674ed36e41
commit bd264f1d85
16 changed files with 41 additions and 8 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ namespace {
if (character >= 0x20 && character <= 0x7e) {
stream.put((char)character);
} else {
stream << "\\u" << character;
stream << "\\u" << static_cast<uint32_t>(character);
}
});
return stream.str();