Fix build errors and warnings with LLVM-21

This commit is contained in:
Pāvels Nadtočajevs
2025-12-10 20:04:25 +02:00
parent d743736f84
commit 1682f6d4dd
4 changed files with 16 additions and 2 deletions

View File

@@ -132,6 +132,7 @@ Files extracted from upstream source:
Patches:
- `0001-disable-exceptions.patch` (GH-80796)
- `0002-llvm-21-header.patch` (GH-113850)
## cvtt

View File

@@ -13,6 +13,7 @@
#include "clipper2/clipper.version.h"
#include <cstdint>
#include <vector>
#include <iterator>
#include <string>
#include <iostream>
#include <algorithm>

View File

@@ -0,0 +1,12 @@
diff --git a/thirdparty/clipper2/include/clipper2/clipper.core.h b/thirdparty/clipper2/include/clipper2/clipper.core.h
index 5a698e96f4..a68e87225e 100644
--- a/thirdparty/clipper2/include/clipper2/clipper.core.h
+++ b/thirdparty/clipper2/include/clipper2/clipper.core.h
@@ -13,6 +13,7 @@
#include "clipper2/clipper.version.h"
#include <cstdint>
#include <vector>
+#include <iterator>
#include <string>
#include <iostream>
#include <algorithm>