mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-30 21:20:28 +01:00
fix the clang CI build
Every module unit now includes the standard headers it uses. Declarations reaching a unit only through an imported module's global module fragment are reachable but not visible, so ADL misses the free operators older libstdc++ declares beside a type - reproduced on ubuntu 24.04 (libstdc++ 13), where gl/vao.cpp could not compare vector iterators. Also drops a stale editor/editorSettings.hpp from the MSVC source list, which broke the Windows configure step, silences the deliberate include-in-purview warning in the glm wrapper, and removes GCC support: clang or MSVC only.
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
module;
|
||||
#include <atomic>
|
||||
#include <chrono>
|
||||
#include <condition_variable>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include "glad/glad.h"
|
||||
#include "stb/stb_image.h"
|
||||
#include "utilities/Globals_macros.h"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
module;
|
||||
#include <string>
|
||||
#include <atomic>
|
||||
#include <condition_variable>
|
||||
#include <mutex>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
module;
|
||||
#include <iterator>
|
||||
#include "utilities/translation_macros.h"
|
||||
#include "glad/glad.h"
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
module;
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <array>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
module;
|
||||
#include <array>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include "vehicle/DynObj_macros.h"
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
module;
|
||||
#include <array>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include "utilities/translation_macros.h"
|
||||
#include "imgui/imgui.h"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
module;
|
||||
#include <array>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
module;
|
||||
#include <atomic>
|
||||
#include <ios>
|
||||
#include <optional>
|
||||
#include "imgui/imgui.h"
|
||||
#include <cmath>
|
||||
#include <fstream>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
module;
|
||||
#include <string>
|
||||
#include <atomic>
|
||||
#include <optional>
|
||||
#include <thread>
|
||||
|
||||
Reference in New Issue
Block a user