Logo
Explore Help
Sign In
packages/zimg
1
0
Fork 0
You've already forked zimg
Code Issues Pull Requests Packages Projects Releases Wiki Activity
zimg/gcc-10.patch

8 lines
226 B
Diff
Raw Permalink Normal View History

fix for gcc 10 error after updating to gcc 10.3.1: src/zimg/colorspace/matrix3.cpp:45:7: error: 'size_t' was not declared in this scope; did you mean 'std::size_t'? 45 | for (size_t i = 0; i < 3; ++i) { | ^~~~~~ | std::size_t In file included from /usr/include/c++/10.3.1/utility:68, from /usr/include/c++/10.3.1/array:38, from src/zimg/colorspace/matrix3.h:6, from src/zimg/colorspace/matrix3.cpp:1: refer to: https://bugs.gentoo.org/721676
2021-08-02 16:43:15 +08:00
--- src/zimg/colorspace/matrix3.cpp_old 2021-08-02 16:27:28.737949184 +0800
+++ src/zimg/colorspace/matrix3.cpp 2021-08-02 16:27:48.394167745 +0800
@@ -1,3 +1,4 @@
+#include <cstddef>
#include "matrix3.h"
namespace zimg {
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.4 Page: 25ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API