Martin Storsjö
fb65ecbc9b
avutil: Fix linking x86 asm constants with Clang in MSVC mode
...
This fixes building with Clang in MSVC mode, for x86, which was
broken in 6e49b86996
(in Nov 2024);
previously it failed with undefined symbols for the constants
defined with DECLARE_ASM_CONST, accessed via inline assembly.
Before 57861911a3
, there was an
#elif defined(__GNUC__) || defined(__clang__)
case before the
#elif defined(_MSC_VER)
case for defining DECLARE_ASM_CONST, which included av_used.
(This case included the explicit "defined(__clang__)" since
f637046d3134a331e4b5a7243ac3dfb92735b8a5.)
After 57861911a3
, it used the
generic definition of DECLARE_ASM_CONST that also included
av_used - which also worked for Clang in MSVC mode. But after
6e49b86996
, Clang in MSVC mode
ended up using the MSVC specific variant which lacked the
av_used declaration, causing linker errors due to undefined
symbols.
Signed-off-by: Martin Storsjö <martin@martin.st >
2025-06-13 11:36:20 +03:00
..
2025-05-19 13:20:51 +02:00
2024-09-09 06:20:11 -04:00
2024-09-09 06:20:11 -04:00
2024-09-09 06:20:11 -04:00
2024-11-03 22:05:06 -05:00
2024-11-25 19:29:21 +02:00
2025-04-09 11:45:14 +02:00
2024-12-04 16:43:06 +08:00
2025-06-12 14:17:37 +03:00
2016-06-22 11:28:51 +02:00
2025-04-05 20:46:40 -03:00
2022-10-17 09:56:47 +02:00
2025-04-05 20:46:40 -03:00
2025-04-13 22:47:32 +02:00
2022-10-17 09:56:47 +02:00
2024-06-20 17:02:50 -03:00
2023-01-13 21:26:13 +02:00
2025-03-05 00:24:54 +01:00
2023-09-12 09:20:13 +02:00
2023-09-12 09:20:13 +02:00
2025-05-21 10:45:23 +02:00
2024-07-21 17:02:12 +02:00
2025-01-17 23:33:26 +01:00
2023-09-07 00:48:50 +02:00
2025-05-07 15:35:47 +02:00
2013-12-05 23:42:07 +01:00
2024-05-13 03:26:57 +02:00
2016-04-02 12:48:21 +02:00
2022-02-24 12:56:49 +01:00
2023-08-10 08:53:38 +02:00
2024-03-04 17:45:00 +01:00
2024-06-13 21:16:16 +03:00
2024-07-21 17:02:13 +02:00
2021-09-17 13:28:09 -03:00
2022-10-17 09:55:19 +02:00
2022-11-11 12:24:23 +01:00
2025-01-03 10:27:12 -03:00
2025-03-12 17:00:24 +01:00
2024-06-14 14:28:25 +02:00
2024-12-15 14:05:15 +01:00
2024-12-15 14:05:15 +01:00
2024-12-04 16:43:06 +08:00
2025-02-02 17:03:20 +01:00
2024-12-04 16:43:06 +08:00
2022-02-24 12:56:49 +01:00
2022-10-17 09:56:47 +02:00
2025-03-21 04:30:09 +01:00
2024-12-05 12:27:32 +01:00
2022-02-24 12:56:49 +01:00
2022-02-24 12:56:49 +01:00
2022-10-17 09:56:47 +02:00
2024-03-31 00:08:43 +01:00
2022-10-17 09:56:47 +02:00
2025-04-07 23:38:09 -03:00
2025-04-07 01:02:35 +02:00
2022-10-17 09:55:19 +02:00
2024-04-03 16:16:25 +02:00
2024-08-16 11:48:02 +02:00
2025-01-28 15:26:00 -03:00
2014-07-12 22:33:27 +02:00
2023-09-04 11:04:45 +02:00
2023-09-07 00:42:10 +02:00
2024-04-25 14:13:47 +01:00
2024-04-25 14:13:47 +01:00
2025-03-08 01:05:47 +01:00
2023-11-18 19:55:42 +01:00
2024-07-11 20:26:23 +08:00
2024-06-27 20:54:42 +08:00
2016-03-22 10:15:31 -07:00
2024-03-07 08:53:30 -03:00
2024-03-27 17:07:22 +01:00
2024-07-16 22:50:21 +08:00
2022-09-03 15:41:44 +02:00
2024-12-15 14:02:29 +01:00
2024-03-27 17:07:22 +01:00
2024-03-31 00:08:43 +01:00
2025-03-28 14:33:08 -03:00
2024-03-31 00:08:43 +01:00
2024-03-15 12:51:15 +01:00
2022-08-19 22:09:36 +02:00
2022-08-19 22:09:36 +02:00
2025-03-28 14:33:08 -03:00
2025-03-28 14:33:08 -03:00
2025-03-28 14:33:08 -03:00
2025-06-06 17:21:37 +02:00
2025-03-28 14:33:08 -03:00
2022-06-21 13:27:46 +03:00
2022-08-19 22:09:36 +02:00
2022-08-19 22:09:36 +02:00
2024-03-18 01:48:46 +01:00
2023-04-05 09:47:12 -03:00
2024-03-04 17:45:12 +01:00
2025-03-28 14:33:07 -03:00
2023-09-07 00:42:10 +02:00
2025-02-04 00:14:14 +01:00
2025-06-06 13:42:18 +02:00
2025-02-04 00:14:14 +01:00
2019-11-26 16:24:40 +01:00
2025-02-02 20:01:51 +01:00
2023-09-28 19:23:51 +02:00
2024-11-05 10:28:03 +08:00
2023-12-21 16:15:23 +08:00
2024-07-02 14:15:12 +02:00
2024-07-02 14:15:12 +02:00
2024-03-31 00:08:43 +01:00
2024-11-05 10:28:03 +08:00
2025-02-04 00:14:14 +01:00
2023-01-26 23:31:37 +08:00
2023-01-26 23:31:37 +08:00
2024-03-07 08:53:31 -03:00
2024-08-09 13:40:26 +08:00
2024-05-20 09:30:48 +08:00
2022-07-05 15:20:08 +02:00
2024-08-09 13:40:24 +08:00
2024-03-07 08:53:31 -03:00
2025-06-13 08:41:53 +08:00
2024-07-05 19:13:43 +08:00
2025-06-12 00:17:29 +09:00
2025-03-28 14:33:08 -03:00
2025-04-21 00:19:20 +02:00
2025-02-04 00:14:14 +01:00
2024-05-04 21:31:33 -03:00
2024-11-13 12:38:04 -03:00
2024-03-31 00:08:43 +01:00
2024-07-12 22:16:05 +02:00
2023-12-13 18:51:32 +01:00
2022-10-24 20:11:20 +02:00
2022-02-24 12:56:49 +01:00
2024-03-31 00:08:43 +01:00
2015-10-11 18:03:10 -04:00
2025-06-12 14:17:37 +03:00
2024-08-26 10:26:59 +02:00
2017-01-22 02:28:53 +01:00
2022-10-17 09:56:47 +02:00
2025-03-22 03:35:28 +01:00
2024-06-01 18:05:58 +03:00
2024-06-01 18:05:58 +03:00
2012-10-13 14:24:58 +02:00
2025-04-21 00:19:11 +02:00
2025-04-21 00:19:11 +02:00
2012-10-25 13:15:58 +02:00
2024-06-18 15:24:12 +08:00
2025-04-03 06:04:57 +02:00
2024-06-20 17:02:50 -03:00
2024-04-11 11:46:18 -03:00
2023-05-29 00:45:28 +02:00
2023-05-29 00:45:28 +02:00
2023-09-07 00:42:10 +02:00
2021-07-22 14:34:31 +02:00
2025-06-13 11:36:20 +03:00
2024-03-31 00:08:43 +01:00
2023-09-07 00:42:10 +02:00
2023-09-07 00:42:10 +02:00
2021-12-18 11:55:47 -08:00
2025-05-03 07:56:46 +02:00
2024-10-16 16:46:29 +02:00
2024-11-16 20:58:49 +01:00
2022-10-17 09:56:47 +02:00
2024-03-31 00:08:43 +01:00
2025-03-17 08:49:04 +01:00
2023-10-31 15:46:07 +01:00
2022-02-24 12:56:49 +01:00
2025-03-17 08:49:04 +01:00
2022-02-24 12:56:49 +01:00
2025-02-13 11:41:51 +02:00
2023-07-05 10:25:12 -07:00
2024-11-16 20:58:49 +01:00
2024-02-12 00:50:46 +01:00
2022-02-24 12:56:49 +01:00
2022-10-17 09:56:47 +02:00
2025-05-22 15:12:54 +02:00
2025-03-11 04:35:06 +01:00
2023-09-12 09:17:28 +02:00
2023-09-12 09:17:28 +02:00
2024-01-16 01:34:57 +01:00
2022-02-24 12:56:49 +01:00
2025-03-03 18:10:10 -03:00
2025-03-03 18:10:10 -03:00
2025-03-26 03:14:41 +01:00
2017-07-19 15:50:07 +07:00
2023-06-23 02:06:46 +02:00
2024-06-18 14:47:40 +01:00
2024-06-18 14:47:40 +01:00
2024-06-28 13:16:57 -03:00
2024-06-28 13:16:57 -03:00
2015-07-21 23:10:44 +02:00
2024-02-05 09:42:30 +01:00
2023-09-07 00:42:10 +02:00
2018-04-26 19:41:19 +02:00
2014-10-24 11:06:56 +02:00
2025-03-02 18:43:08 +01:00
2025-03-02 18:43:08 +01:00
2025-03-02 18:43:08 +01:00
2024-01-14 14:58:57 +01:00
2024-08-05 21:16:26 +03:00
2024-06-30 09:11:44 +02:00
2024-03-25 21:30:51 +01:00
2021-07-22 14:34:31 +02:00
2022-02-24 12:56:49 +01:00
2022-10-17 09:51:47 +02:00
2019-08-02 01:19:52 +01:00
2023-09-07 00:42:10 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2023-09-01 23:59:10 +02:00
2024-09-30 09:14:04 +02:00
2022-06-12 18:34:28 +10:00
2022-10-17 09:56:47 +02:00
2024-03-31 00:08:42 +01:00
2025-05-21 10:45:23 +02:00
2023-01-31 14:22:54 +02:00
2023-10-30 10:30:05 -03:00
2023-08-08 09:46:11 +02:00
2023-08-08 09:46:11 +02:00
2025-06-11 01:20:18 +09:00
2025-04-14 06:10:40 +02:00
2025-06-11 01:20:18 +09:00
2025-04-14 06:10:40 +02:00
2024-10-06 06:04:36 +02:00
2025-06-12 00:17:29 +09:00
2025-06-11 01:20:18 +09:00
2024-10-27 09:37:46 +01:00
2012-10-01 22:24:17 +02:00
2015-11-22 14:29:09 +00:00