Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 827341 Details for
Bug 879697
media-libs/avidemux-core: possible configure breakage with Clang 16
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
clang-15.log
clang-15.log (text/plain), 19.61 KB, created by
Matt Jolly
on 2022-11-04 22:11:25 UTC
(
hide
)
Description:
clang-15.log
Filename:
MIME Type:
Creator:
Matt Jolly
Created:
2022-11-04 22:11:25 UTC
Size:
19.61 KB
patch
obsolete
>In file included from <built-in>:1: >./src/compat/cuda/cuda_runtime.h:113:27: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'unsigned char' in initializer list [-Wc++11-narrowing] >TEX2D(uchar2, make_uchar2(a & 0xFF, b & 0xFF)) > ^~~~~~~~ >./src/compat/cuda/cuda_runtime.h:103:42: note: expanded from macro 'make_uchar2' >#define make_uchar2(a, b) ((uchar2){.x = a, .y = b}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:113:27: note: insert an explicit cast to silence this issue >TEX2D(uchar2, make_uchar2(a & 0xFF, b & 0xFF)) > ^~~~~~~~ > static_cast<unsigned char>( >./src/compat/cuda/cuda_runtime.h:103:42: note: expanded from macro 'make_uchar2' >#define make_uchar2(a, b) ((uchar2){.x = a, .y = b}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:113:37: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'unsigned char' in initializer list [-Wc++11-narrowing] >TEX2D(uchar2, make_uchar2(a & 0xFF, b & 0xFF)) > ^~~~~~~~ >./src/compat/cuda/cuda_runtime.h:103:50: note: expanded from macro 'make_uchar2' >#define make_uchar2(a, b) ((uchar2){.x = a, .y = b}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:113:37: note: insert an explicit cast to silence this issue >TEX2D(uchar2, make_uchar2(a & 0xFF, b & 0xFF)) > ^~~~~~~~ > static_cast<unsigned char>( >./src/compat/cuda/cuda_runtime.h:103:50: note: expanded from macro 'make_uchar2' >#define make_uchar2(a, b) ((uchar2){.x = a, .y = b}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:114:29: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'unsigned short' in initializer list [-Wc++11-narrowing] >TEX2D(ushort2, make_ushort2(a & 0xFFFF, b & 0xFFFF)) > ^~~~~~~~~~ >./src/compat/cuda/cuda_runtime.h:104:44: note: expanded from macro 'make_ushort2' >#define make_ushort2(a, b) ((ushort2){.x = a, .y = b}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:114:29: note: insert an explicit cast to silence this issue >TEX2D(ushort2, make_ushort2(a & 0xFFFF, b & 0xFFFF)) > ^~~~~~~~~~ > static_cast<unsigned short>( >./src/compat/cuda/cuda_runtime.h:104:44: note: expanded from macro 'make_ushort2' >#define make_ushort2(a, b) ((ushort2){.x = a, .y = b}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:114:41: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'unsigned short' in initializer list [-Wc++11-narrowing] >TEX2D(ushort2, make_ushort2(a & 0xFFFF, b & 0xFFFF)) > ^~~~~~~~~~ >./src/compat/cuda/cuda_runtime.h:104:52: note: expanded from macro 'make_ushort2' >#define make_ushort2(a, b) ((ushort2){.x = a, .y = b}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:114:41: note: insert an explicit cast to silence this issue >TEX2D(ushort2, make_ushort2(a & 0xFFFF, b & 0xFFFF)) > ^~~~~~~~~~ > static_cast<unsigned short>( >./src/compat/cuda/cuda_runtime.h:104:52: note: expanded from macro 'make_ushort2' >#define make_ushort2(a, b) ((ushort2){.x = a, .y = b}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:114:27: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'unsigned char' in initializer list [-Wc++11-narrowing] >TEX2D(uchar4, make_uchar4(a & 0xFF, b & 0xFF, c & 0xFF, d & 0xFF)) > ^~~~~~~~ >./src/compat/cuda/cuda_runtime.h:105:48: note: expanded from macro 'make_uchar4' >#define make_uchar4(a, b, c, d) ((uchar4){.x = a, .y = b, .z = c, .w = d}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:114:27: note: insert an explicit cast to silence this issue >TEX2D(uchar4, make_uchar4(a & 0xFF, b & 0xFF, c & 0xFF, d & 0xFF)) > ^~~~~~~~ > static_cast<unsigned char>( >./src/compat/cuda/cuda_runtime.h:105:48: note: expanded from macro 'make_uchar4' >#define make_uchar4(a, b, c, d) ((uchar4){.x = a, .y = b, .z = c, .w = d}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:114:37: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'unsigned char' in initializer list [-Wc++11-narrowing] >TEX2D(uchar4, make_uchar4(a & 0xFF, b & 0xFF, c & 0xFF, d & 0xFF)) > ^~~~~~~~ >./src/compat/cuda/cuda_runtime.h:105:56: note: expanded from macro 'make_uchar4' >#define make_uchar4(a, b, c, d) ((uchar4){.x = a, .y = b, .z = c, .w = d}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:114:37: note: insert an explicit cast to silence this issue >TEX2D(uchar4, make_uchar4(a & 0xFF, b & 0xFF, c & 0xFF, d & 0xFF)) > ^~~~~~~~ > static_cast<unsigned char>( >./src/compat/cuda/cuda_runtime.h:105:56: note: expanded from macro 'make_uchar4' >#define make_uchar4(a, b, c, d) ((uchar4){.x = a, .y = b, .z = c, .w = d}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:114:47: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'unsigned char' in initializer list [-Wc++11-narrowing] >TEX2D(uchar4, make_uchar4(a & 0xFF, b & 0xFF, c & 0xFF, d & 0xFF)) > ^~~~~~~~ >./src/compat/cuda/cuda_runtime.h:105:64: note: expanded from macro 'make_uchar4' >#define make_uchar4(a, b, c, d) ((uchar4){.x = a, .y = b, .z = c, .w = d}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:114:47: note: insert an explicit cast to silence this issue >TEX2D(uchar4, make_uchar4(a & 0xFF, b & 0xFF, c & 0xFF, d & 0xFF)) > ^~~~~~~~ > static_cast<unsigned char>( >./src/compat/cuda/cuda_runtime.h:105:64: note: expanded from macro 'make_uchar4' >#define make_uchar4(a, b, c, d) ((uchar4){.x = a, .y = b, .z = c, .w = d}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:114:57: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'unsigned char' in initializer list [-Wc++11-narrowing] >TEX2D(uchar4, make_uchar4(a & 0xFF, b & 0xFF, c & 0xFF, d & 0xFF)) > ^~~~~~~~ >./src/compat/cuda/cuda_runtime.h:105:72: note: expanded from macro 'make_uchar4' >#define make_uchar4(a, b, c, d) ((uchar4){.x = a, .y = b, .z = c, .w = d}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:114:57: note: insert an explicit cast to silence this issue >TEX2D(uchar4, make_uchar4(a & 0xFF, b & 0xFF, c & 0xFF, d & 0xFF)) > ^~~~~~~~ > static_cast<unsigned char>( >./src/compat/cuda/cuda_runtime.h:105:72: note: expanded from macro 'make_uchar4' >#define make_uchar4(a, b, c, d) ((uchar4){.x = a, .y = b, .z = c, .w = d}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:116:29: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'unsigned char' in initializer list [-Wc++11-narrowing] >TEX2D(ushort4, make_ushort4(a & 0xFFFF, b & 0xFFFF, c & 0xFFFF, d & 0xFFFF)) > ^~~~~~~~~~ >./src/compat/cuda/cuda_runtime.h:106:50: note: expanded from macro 'make_ushort4' >#define make_ushort4(a, b, c, d) ((ushort4){.x = a, .y = b, .z = c, .w = d}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:116:29: note: insert an explicit cast to silence this issue >TEX2D(ushort4, make_ushort4(a & 0xFFFF, b & 0xFFFF, c & 0xFFFF, d & 0xFFFF)) > ^~~~~~~~~~ > static_cast<unsigned char>( >./src/compat/cuda/cuda_runtime.h:106:50: note: expanded from macro 'make_ushort4' >#define make_ushort4(a, b, c, d) ((ushort4){.x = a, .y = b, .z = c, .w = d}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:116:41: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'unsigned char' in initializer list [-Wc++11-narrowing] >TEX2D(ushort4, make_ushort4(a & 0xFFFF, b & 0xFFFF, c & 0xFFFF, d & 0xFFFF)) > ^~~~~~~~~~ >./src/compat/cuda/cuda_runtime.h:106:58: note: expanded from macro 'make_ushort4' >#define make_ushort4(a, b, c, d) ((ushort4){.x = a, .y = b, .z = c, .w = d}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:116:41: note: insert an explicit cast to silence this issue >TEX2D(ushort4, make_ushort4(a & 0xFFFF, b & 0xFFFF, c & 0xFFFF, d & 0xFFFF)) > ^~~~~~~~~~ > static_cast<unsigned char>( >./src/compat/cuda/cuda_runtime.h:106:58: note: expanded from macro 'make_ushort4' >#define make_ushort4(a, b, c, d) ((ushort4){.x = a, .y = b, .z = c, .w = d}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:116:53: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'unsigned char' in initializer list [-Wc++11-narrowing] >TEX2D(ushort4, make_ushort4(a & 0xFFFF, b & 0xFFFF, c & 0xFFFF, d & 0xFFFF)) > ^~~~~~~~~~ >./src/compat/cuda/cuda_runtime.h:106:66: note: expanded from macro 'make_ushort4' >#define make_ushort4(a, b, c, d) ((ushort4){.x = a, .y = b, .z = c, .w = d}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:116:53: note: insert an explicit cast to silence this issue >TEX2D(ushort4, make_ushort4(a & 0xFFFF, b & 0xFFFF, c & 0xFFFF, d & 0xFFFF)) > ^~~~~~~~~~ > static_cast<unsigned char>( >./src/compat/cuda/cuda_runtime.h:106:66: note: expanded from macro 'make_ushort4' >#define make_ushort4(a, b, c, d) ((ushort4){.x = a, .y = b, .z = c, .w = d}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:116:65: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'unsigned char' in initializer list [-Wc++11-narrowing] >TEX2D(ushort4, make_ushort4(a & 0xFFFF, b & 0xFFFF, c & 0xFFFF, d & 0xFFFF)) > ^~~~~~~~~~ >./src/compat/cuda/cuda_runtime.h:106:74: note: expanded from macro 'make_ushort4' >#define make_ushort4(a, b, c, d) ((ushort4){.x = a, .y = b, .z = c, .w = d}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >./src/compat/cuda/cuda_runtime.h:116:65: note: insert an explicit cast to silence this issue >TEX2D(ushort4, make_ushort4(a & 0xFFFF, b & 0xFFFF, c & 0xFFFF, d & 0xFFFF)) > ^~~~~~~~~~ > static_cast<unsigned char>( >./src/compat/cuda/cuda_runtime.h:106:74: note: expanded from macro 'make_ushort4' >#define make_ushort4(a, b, c, d) ((ushort4){.x = a, .y = b, .z = c, .w = d}) > ^ >./src/compat/cuda/cuda_runtime.h:109:129: note: expanded from macro 'TEX2D' >#define TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} > ^~~ >12 errors generated when compiling for sm_30.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 879697
:
827339
| 827341 |
827343