17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-17 20:19:20 +02:00

build with clang

Linux CI switches to clang 22; fixes what that exposed - export on
out-of-line member definitions, missing std includes, missing glm
imports. GCC 16 still builds.
This commit is contained in:
maj00r
2026-09-09 22:32:06 +02:00
parent 3f7960aad5
commit f16b5deefb
20 changed files with 63 additions and 33 deletions

View File

@@ -659,6 +659,9 @@ public:
std::string OwnerName() const;
};
} // export -- out-of-line member definitions are not namespace-scope
// declarations, so they cannot carry `export`; the class itself is exported.
inline TOrders TController::OrderCurrentGet() const {
return OrderList[ OrderPos ];
}
@@ -667,4 +670,5 @@ inline TOrders TController::OrderNextGet() const {
return OrderList[ OrderPos + 1 ];
}
export {
} // export