File: ftbfs-gcc-14.patch

package info (click to toggle)
fp16 0.0~git20200514.4dfe081-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 828 kB
  • sloc: cpp: 6,690; ansic: 675; python: 140; makefile: 11
file content (78 lines) | stat: -rw-r--r-- 1,987 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Description: Added required 'include <iomanip>' where needed.
 This ensure the code build with GCC 14, which is a bit more picky
 about the correct include statements.
Author: Petter Reinholdtsen
Bug-Debian: https://bugs.debian.org/1077426
Forwarded: no
Last-Update: 2024-07-31
---
--- fp16-0.0~git20200514.4dfe081.orig/test/alt-from-fp32-value.cc
+++ fp16-0.0~git20200514.4dfe081/test/alt-from-fp32-value.cc
@@ -1,6 +1,7 @@
 #include <gtest/gtest.h>
 
 #include <cstdint>
+#include <iomanip>
 
 #include <fp16.h>
 #include <tables.h>
--- fp16-0.0~git20200514.4dfe081.orig/test/alt-to-fp32-bits.cc
+++ fp16-0.0~git20200514.4dfe081/test/alt-to-fp32-bits.cc
@@ -1,6 +1,7 @@
 #include <gtest/gtest.h>
 
 #include <cstdint>
+#include <iomanip>
 
 #include <fp16.h>
 #include <tables.h>
--- fp16-0.0~git20200514.4dfe081.orig/test/alt-to-fp32-value.cc
+++ fp16-0.0~git20200514.4dfe081/test/alt-to-fp32-value.cc
@@ -2,6 +2,7 @@
 
 #include <cstdint>
 #include <cmath>
+#include <iomanip>
 
 #include <fp16.h>
 #include <tables.h>
--- fp16-0.0~git20200514.4dfe081.orig/test/bitcasts.cc
+++ fp16-0.0~git20200514.4dfe081/test/bitcasts.cc
@@ -1,6 +1,7 @@
 #include <gtest/gtest.h>
 
 #include <cstdint>
+#include <iomanip>
 
 #include <fp16.h>
 
--- fp16-0.0~git20200514.4dfe081.orig/test/ieee-from-fp32-value.cc
+++ fp16-0.0~git20200514.4dfe081/test/ieee-from-fp32-value.cc
@@ -1,6 +1,7 @@
 #include <gtest/gtest.h>
 
 #include <cstdint>
+#include <iomanip>
 
 #include <fp16.h>
 #include <tables.h>
--- fp16-0.0~git20200514.4dfe081.orig/test/ieee-to-fp32-bits.cc
+++ fp16-0.0~git20200514.4dfe081/test/ieee-to-fp32-bits.cc
@@ -1,6 +1,7 @@
 #include <gtest/gtest.h>
 
 #include <cstdint>
+#include <iomanip>
 
 #include <fp16.h>
 #include <tables.h>
--- fp16-0.0~git20200514.4dfe081.orig/test/ieee-to-fp32-value.cc
+++ fp16-0.0~git20200514.4dfe081/test/ieee-to-fp32-value.cc
@@ -1,6 +1,7 @@
 #include <gtest/gtest.h>
 
 #include <cstdint>
+#include <iomanip>
 #include <cmath>
 
 #include <fp16.h>