]>
Commit | Line | Data |
---|---|---|
32b219f8 JB |
1 | --- hwsd-2.0.1/hwsd/gpuInfo.cpp.orig 2020-08-01 07:38:16.290443380 +0200 |
2 | +++ hwsd-2.0.1/hwsd/gpuInfo.cpp 2020-08-01 07:38:20.360657269 +0200 | |
3 | @@ -37,7 +37,15 @@ | |
4 | , unused(0) | |
5 | { | |
6 | invalidatePVP(); | |
7 | +#if __GNUC__ >= 8 | |
8 | + /* ignore "specified bound 4 equals destination size" */ | |
9 | +#pragma GCC diagnostic push | |
10 | +#pragma GCC diagnostic ignored "-Wstringop-truncation" | |
11 | +#endif | |
12 | strncpy(reinterpret_cast<char*>(&type), name.c_str(), 4); | |
13 | +#if __GNUC__ >= 8 | |
14 | +#pragma GCC diagnostic push | |
15 | +#endif | |
16 | } | |
17 | ||
18 | void GPUInfo::invalidatePVP() |