Repository navigation
build: Add -Wcast-qual to the C build (#516) - #599
Merged
Merged
Conversation
Const-correct casts where the pointee is only read; (uintptr_t) casts for bfree/swr_convert/gs_texture_create-style APIs. Vendored librtmp, rnnoise, libcaption and SWIG runtime headers get -Wno-cast-qual; test/cmocka is exempt. Refs #516 Local-Gate: v1 tree=7cad88eebf387fdf23a0e24881c68a87b3c7a704 secs=304 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run Ci-Attestation: {"at":1791909395,"gate":"rust/all/fmt","host":"linux-x86_64","key":"98b30a8c5d155a79317284a8eefa41d44bc7ed1d1270b93c1d13d6aa343ea6df","lane":"lint","parents":["d15965a14ea7734007393e670709f97221ae6077"],"secs":18,"stamp":"07d4de8dca4acfbb2e81bb744d8c27f0","tree":"7cad88eebf387fdf23a0e24881c68a87b3c7a704","v":1,"via":"run"} Ci-Attestation: {"at":1791909395,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"98b30a8c5d155a79317284a8eefa41d44bc7ed1d1270b93c1d13d6aa343ea6df","lane":"lint","parents":["d15965a14ea7734007393e670709f97221ae6077"],"secs":18,"stamp":"9bce90b81fb55d41275f6738e7e11e0d","tree":"7cad88eebf387fdf23a0e24881c68a87b3c7a704","v":1,"via":"run"} Ci-Attestation: {"at":1791909395,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"da1df9827d8d8f49fb4c9889769b02cffb28bcd970182d62451549f807aef1c4","lane":"rust-test","parents":["d15965a14ea7734007393e670709f97221ae6077"],"secs":80,"stamp":"10079d8f08e1ae27003e0d286d43e61e","tree":"7cad88eebf387fdf23a0e24881c68a87b3c7a704","v":1,"via":"run"} Ci-Attestation: {"at":1791909395,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"e4890986196afce9522c1347da38adac35c04f938d7c113db4edea45a49bfb18","lane":"cross","parents":["d15965a14ea7734007393e670709f97221ae6077"],"secs":64,"stamp":"e3507688f14dba61119540bbb8cb6d10","tree":"7cad88eebf387fdf23a0e24881c68a87b3c7a704","v":1,"via":"run"} Ci-Attestation: {"at":1791909395,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"e4890986196afce9522c1347da38adac35c04f938d7c113db4edea45a49bfb18","lane":"cross","parents":["d15965a14ea7734007393e670709f97221ae6077"],"secs":64,"stamp":"e648bb361897b4de724cec11630b9fde","tree":"7cad88eebf387fdf23a0e24881c68a87b3c7a704","v":1,"via":"run"} Ci-Attestation: {"at":1791909395,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"e4890986196afce9522c1347da38adac35c04f938d7c113db4edea45a49bfb18","lane":"cross","parents":["d15965a14ea7734007393e670709f97221ae6077"],"secs":64,"stamp":"5b48c9712188c3ba225661de7620e677","tree":"7cad88eebf387fdf23a0e24881c68a87b3c7a704","v":1,"via":"run"} Ci-Attestation: {"at":1791909395,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"e4890986196afce9522c1347da38adac35c04f938d7c113db4edea45a49bfb18","lane":"cross","parents":["d15965a14ea7734007393e670709f97221ae6077"],"secs":64,"stamp":"60c2ba0140c802ca910187375df6ffc5","tree":"7cad88eebf387fdf23a0e24881c68a87b3c7a704","v":1,"via":"run"} Ci-Attestation: {"at":1791909395,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"e4890986196afce9522c1347da38adac35c04f938d7c113db4edea45a49bfb18","lane":"cross","parents":["d15965a14ea7734007393e670709f97221ae6077"],"secs":64,"stamp":"52356e2b6efe9242680f99e9a43021a6","tree":"7cad88eebf387fdf23a0e24881c68a87b3c7a704","v":1,"via":"run"} Ci-Attestation: {"at":1791909395,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"e4890986196afce9522c1347da38adac35c04f938d7c113db4edea45a49bfb18","lane":"cross","parents":["d15965a14ea7734007393e670709f97221ae6077"],"secs":64,"stamp":"ed6d98e3474f8a0fe43b526a22989d89","tree":"7cad88eebf387fdf23a0e24881c68a87b3c7a704","v":1,"via":"run"} Ci-Attestation: {"at":1791909395,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"73484aca78fb26e49388d88b45bfa94b08157f17e876cb1202387a4126b1edf6","lane":"tier2-linux","parents":["d15965a14ea7734007393e670709f97221ae6077"],"secs":141,"stamp":"923376831f59cc7d95cfc9e7ed54c075","tree":"7cad88eebf387fdf23a0e24881c68a87b3c7a704","v":1,"via":"run"}
MSVC rejects it (D8021). Refs #516 Local-Gate: v1 tree=d8c954d55b8e35c5ec02d326bfac338d23179222 secs=414 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run Ci-Attestation: {"at":1791910287,"gate":"rust/all/fmt","host":"linux-x86_64","key":"77b823d260f14e7fe5a6480b1e89e5f10f30184b5cbe20906600ee8594069516","lane":"lint","parents":["9f700214e7ef45d0bce4225d02ce13d33f2e5b27"],"secs":23,"stamp":"0787071932f4322f7f8473ecda676298","tree":"d8c954d55b8e35c5ec02d326bfac338d23179222","v":1,"via":"run"} Ci-Attestation: {"at":1791910287,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"77b823d260f14e7fe5a6480b1e89e5f10f30184b5cbe20906600ee8594069516","lane":"lint","parents":["9f700214e7ef45d0bce4225d02ce13d33f2e5b27"],"secs":23,"stamp":"c0fa39eb932123a67f6f4d13af5a248f","tree":"d8c954d55b8e35c5ec02d326bfac338d23179222","v":1,"via":"run"} Ci-Attestation: {"at":1791910287,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"689cbce7aeade0c194b982f2b455a68794cd8e73b6757e88201809faa2aef712","lane":"rust-test","parents":["9f700214e7ef45d0bce4225d02ce13d33f2e5b27"],"secs":133,"stamp":"5c42d492827f2e15ec10b54103b056fe","tree":"d8c954d55b8e35c5ec02d326bfac338d23179222","v":1,"via":"run"} Ci-Attestation: {"at":1791910287,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"3c762acd49897db3c42154819939328848fa0aaf16f0c7f920baaf4d268929d1","lane":"cross","parents":["9f700214e7ef45d0bce4225d02ce13d33f2e5b27"],"secs":134,"stamp":"4ac5dd7db722805e25ca826e2799507c","tree":"d8c954d55b8e35c5ec02d326bfac338d23179222","v":1,"via":"run"} Ci-Attestation: {"at":1791910287,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"3c762acd49897db3c42154819939328848fa0aaf16f0c7f920baaf4d268929d1","lane":"cross","parents":["9f700214e7ef45d0bce4225d02ce13d33f2e5b27"],"secs":134,"stamp":"322557b560f5e7623e7dd20eb4637197","tree":"d8c954d55b8e35c5ec02d326bfac338d23179222","v":1,"via":"run"} Ci-Attestation: {"at":1791910287,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"3c762acd49897db3c42154819939328848fa0aaf16f0c7f920baaf4d268929d1","lane":"cross","parents":["9f700214e7ef45d0bce4225d02ce13d33f2e5b27"],"secs":134,"stamp":"56f06b764c33a7f556d2ef4578751bf4","tree":"d8c954d55b8e35c5ec02d326bfac338d23179222","v":1,"via":"run"} Ci-Attestation: {"at":1791910287,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"3c762acd49897db3c42154819939328848fa0aaf16f0c7f920baaf4d268929d1","lane":"cross","parents":["9f700214e7ef45d0bce4225d02ce13d33f2e5b27"],"secs":134,"stamp":"a28dfd4533c274a8872579d550ba8500","tree":"d8c954d55b8e35c5ec02d326bfac338d23179222","v":1,"via":"run"} Ci-Attestation: {"at":1791910287,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"3c762acd49897db3c42154819939328848fa0aaf16f0c7f920baaf4d268929d1","lane":"cross","parents":["9f700214e7ef45d0bce4225d02ce13d33f2e5b27"],"secs":134,"stamp":"aa0f4d134a9dcdf4c2e36ad19bbbedfc","tree":"d8c954d55b8e35c5ec02d326bfac338d23179222","v":1,"via":"run"} Ci-Attestation: {"at":1791910287,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"3c762acd49897db3c42154819939328848fa0aaf16f0c7f920baaf4d268929d1","lane":"cross","parents":["9f700214e7ef45d0bce4225d02ce13d33f2e5b27"],"secs":134,"stamp":"545ce60d19fa4b4641617c3cd54dfc90","tree":"d8c954d55b8e35c5ec02d326bfac338d23179222","v":1,"via":"run"} Ci-Attestation: {"at":1791910287,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"db8de95876ff830d7d19b884559bac5d53e396068b1911c066ca739d63766f06","lane":"tier2-linux","parents":["9f700214e7ef45d0bce4225d02ce13d33f2e5b27"],"secs":124,"stamp":"fc15ee425401cff667b9b00254201826","tree":"d8c954d55b8e35c5ec02d326bfac338d23179222","v":1,"via":"run"}
obs_avc_find_startcode returns const; the packet buffer it points into is writable. QSV is not in the local full build. Refs #516
Keep -Wdouble-promotion (#596) next to -Wcast-qual. Local-Gate: v1 tree=0bbb64ed32c5fcf6044ecf3f92435d21ccaaaf16 secs=425 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run Ci-Attestation: {"at":1791911919,"gate":"rust/all/fmt","host":"linux-x86_64","key":"7f9da3fb9017edef286335bffa1d9e4fe1c15abe537ff989e6ad05cfa848500c","lane":"lint","parents":["b42f1d3e5314af54cab3a3f03209515f7424020e","3006f659b244308694b501d26511cc4b798ed44d"],"secs":18,"stamp":"6cce1725f3de19dc4ae52b53d95982a2","tree":"0bbb64ed32c5fcf6044ecf3f92435d21ccaaaf16","v":1,"via":"run"} Ci-Attestation: {"at":1791911919,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"7f9da3fb9017edef286335bffa1d9e4fe1c15abe537ff989e6ad05cfa848500c","lane":"lint","parents":["b42f1d3e5314af54cab3a3f03209515f7424020e","3006f659b244308694b501d26511cc4b798ed44d"],"secs":18,"stamp":"7e6d311f8147f8a94afa39b94a7ec167","tree":"0bbb64ed32c5fcf6044ecf3f92435d21ccaaaf16","v":1,"via":"run"} Ci-Attestation: {"at":1791911919,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"24e4423eb6753bc739317795997851e6a7994d6de601b4d0f056c8f6efedd75a","lane":"rust-test","parents":["b42f1d3e5314af54cab3a3f03209515f7424020e","3006f659b244308694b501d26511cc4b798ed44d"],"secs":122,"stamp":"8eb04a49a13cd57b0b8e6b71a2a7be5a","tree":"0bbb64ed32c5fcf6044ecf3f92435d21ccaaaf16","v":1,"via":"run"} Ci-Attestation: {"at":1791911919,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"40222f86b035edfbccb785990a09f9c87fb6fd7182636d57024e08e12e6ecc46","lane":"cross","parents":["b42f1d3e5314af54cab3a3f03209515f7424020e","3006f659b244308694b501d26511cc4b798ed44d"],"secs":105,"stamp":"345cf770a19d3b53b6901ec77ab14454","tree":"0bbb64ed32c5fcf6044ecf3f92435d21ccaaaf16","v":1,"via":"run"} Ci-Attestation: {"at":1791911919,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"40222f86b035edfbccb785990a09f9c87fb6fd7182636d57024e08e12e6ecc46","lane":"cross","parents":["b42f1d3e5314af54cab3a3f03209515f7424020e","3006f659b244308694b501d26511cc4b798ed44d"],"secs":105,"stamp":"8211539956edfda07256a7d6d7062992","tree":"0bbb64ed32c5fcf6044ecf3f92435d21ccaaaf16","v":1,"via":"run"} Ci-Attestation: {"at":1791911919,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"40222f86b035edfbccb785990a09f9c87fb6fd7182636d57024e08e12e6ecc46","lane":"cross","parents":["b42f1d3e5314af54cab3a3f03209515f7424020e","3006f659b244308694b501d26511cc4b798ed44d"],"secs":105,"stamp":"2504cc910d8acecd09927ffe21bc7ef3","tree":"0bbb64ed32c5fcf6044ecf3f92435d21ccaaaf16","v":1,"via":"run"} Ci-Attestation: {"at":1791911919,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"40222f86b035edfbccb785990a09f9c87fb6fd7182636d57024e08e12e6ecc46","lane":"cross","parents":["b42f1d3e5314af54cab3a3f03209515f7424020e","3006f659b244308694b501d26511cc4b798ed44d"],"secs":105,"stamp":"4fa5ad43cff7613abbf9753dad5c3b78","tree":"0bbb64ed32c5fcf6044ecf3f92435d21ccaaaf16","v":1,"via":"run"} Ci-Attestation: {"at":1791911919,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"40222f86b035edfbccb785990a09f9c87fb6fd7182636d57024e08e12e6ecc46","lane":"cross","parents":["b42f1d3e5314af54cab3a3f03209515f7424020e","3006f659b244308694b501d26511cc4b798ed44d"],"secs":105,"stamp":"b07b982da37d241df3045cc174cc61c6","tree":"0bbb64ed32c5fcf6044ecf3f92435d21ccaaaf16","v":1,"via":"run"} Ci-Attestation: {"at":1791911919,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"40222f86b035edfbccb785990a09f9c87fb6fd7182636d57024e08e12e6ecc46","lane":"cross","parents":["b42f1d3e5314af54cab3a3f03209515f7424020e","3006f659b244308694b501d26511cc4b798ed44d"],"secs":105,"stamp":"04f832ea0e681ef2575dd2391d3ffe35","tree":"0bbb64ed32c5fcf6044ecf3f92435d21ccaaaf16","v":1,"via":"run"} Ci-Attestation: {"at":1791911919,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"b3b5e40de191b1b3fca1278f888afa122137e03e54c4df5ed5476c581aba957e","lane":"tier2-linux","parents":["b42f1d3e5314af54cab3a3f03209515f7424020e","3006f659b244308694b501d26511cc4b798ed44d"],"secs":179,"stamp":"04eb2570398e46dcdb3049593dea4580","tree":"0bbb64ed32c5fcf6044ecf3f92435d21ccaaaf16","v":1,"via":"run"}
As in decklink's copy. AJA is not in the local full build. Refs #516 Local-Gate: v1 tree=1f9c6894ec9c0b0594023e8e6f85237126d2005d secs=346 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run Ci-Attestation: {"at":1791912998,"gate":"rust/all/fmt","host":"linux-x86_64","key":"ffc2d07600fe10cb36cb2bba292429e484d14a1de7802f42d983d56472979f77","lane":"lint","parents":["ea4035e7cf41c48e0807ee545ee86d847cdcda99"],"secs":27,"stamp":"193cf3fdc45872b2c9101e5bc3ca330d","tree":"1f9c6894ec9c0b0594023e8e6f85237126d2005d","v":1,"via":"run"} Ci-Attestation: {"at":1791912998,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"ffc2d07600fe10cb36cb2bba292429e484d14a1de7802f42d983d56472979f77","lane":"lint","parents":["ea4035e7cf41c48e0807ee545ee86d847cdcda99"],"secs":27,"stamp":"d2f3f025a11f0ed7058dd7559f9a0e5f","tree":"1f9c6894ec9c0b0594023e8e6f85237126d2005d","v":1,"via":"run"} Ci-Attestation: {"at":1791912998,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"2864638108136423292b889078f61dbcf4d795a7eae893e77ae9c38a85eaa983","lane":"rust-test","parents":["ea4035e7cf41c48e0807ee545ee86d847cdcda99"],"secs":116,"stamp":"a4e65bdca84fb11179b06b68f0988509","tree":"1f9c6894ec9c0b0594023e8e6f85237126d2005d","v":1,"via":"run"} Ci-Attestation: {"at":1791912998,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"7fde77c718081943d9428dc5bd2fdfb7933b74fa797a9d32ce692b9290bed81c","lane":"cross","parents":["ea4035e7cf41c48e0807ee545ee86d847cdcda99"],"secs":94,"stamp":"88bca22f656cde9007c762d9173abe46","tree":"1f9c6894ec9c0b0594023e8e6f85237126d2005d","v":1,"via":"run"} Ci-Attestation: {"at":1791912998,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"7fde77c718081943d9428dc5bd2fdfb7933b74fa797a9d32ce692b9290bed81c","lane":"cross","parents":["ea4035e7cf41c48e0807ee545ee86d847cdcda99"],"secs":94,"stamp":"d0f518915655be9b387113ef1477f9c0","tree":"1f9c6894ec9c0b0594023e8e6f85237126d2005d","v":1,"via":"run"} Ci-Attestation: {"at":1791912998,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"7fde77c718081943d9428dc5bd2fdfb7933b74fa797a9d32ce692b9290bed81c","lane":"cross","parents":["ea4035e7cf41c48e0807ee545ee86d847cdcda99"],"secs":94,"stamp":"dca88e48305140a3e0417e3a1d7232ad","tree":"1f9c6894ec9c0b0594023e8e6f85237126d2005d","v":1,"via":"run"} Ci-Attestation: {"at":1791912998,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"7fde77c718081943d9428dc5bd2fdfb7933b74fa797a9d32ce692b9290bed81c","lane":"cross","parents":["ea4035e7cf41c48e0807ee545ee86d847cdcda99"],"secs":94,"stamp":"e35e52dafad461b65ddb1fc7255b2884","tree":"1f9c6894ec9c0b0594023e8e6f85237126d2005d","v":1,"via":"run"} Ci-Attestation: {"at":1791912998,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"7fde77c718081943d9428dc5bd2fdfb7933b74fa797a9d32ce692b9290bed81c","lane":"cross","parents":["ea4035e7cf41c48e0807ee545ee86d847cdcda99"],"secs":94,"stamp":"5eb1951e8c35aad681bbb8c20d6f8eb1","tree":"1f9c6894ec9c0b0594023e8e6f85237126d2005d","v":1,"via":"run"} Ci-Attestation: {"at":1791912998,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"7fde77c718081943d9428dc5bd2fdfb7933b74fa797a9d32ce692b9290bed81c","lane":"cross","parents":["ea4035e7cf41c48e0807ee545ee86d847cdcda99"],"secs":94,"stamp":"a2f372291ef95c3a1548101f6f08d260","tree":"1f9c6894ec9c0b0594023e8e6f85237126d2005d","v":1,"via":"run"} Ci-Attestation: {"at":1791912998,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"5cd21c8bf17dee4457214ac5b4d0d7783ce09e9624a4d493390e334a52be5d68","lane":"tier2-linux","parents":["ea4035e7cf41c48e0807ee545ee86d847cdcda99"],"secs":109,"stamp":"284c7fb3fe2225fa635c595350009f2e","tree":"1f9c6894ec9c0b0594023e8e6f85237126d2005d","v":1,"via":"run"}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #516. Next ratchet after #595 (-Wundef) and #596 (-Wdouble-promotion).
RED commit d15965a adds -Wcast-qual (GCC C line in cmake/linux/compilerconfig.cmake, _obs_clang_c_options in compiler_common.cmake); it fails the full Linux build (116 distinct errors, including librtmp, rnnoise, test/cmocka). GREEN commit ffe0b6611 fixes them; full Linux build with scripting ON, -k 0, reaches rc=0.
Fixes (~60 sites, behaviour unchanged): const-correct pointers where only read (cmp_wi, audio-repack, chroma_is, source-profiler key, glGetStringi, camera-portal name/desc args now passed as const char*); (uintptr_t) casts for bfree of const ids/uuids/urls, gs_texture_create/swr_convert/glShaderSource const-adding double pointers, brealloc/memcpy of audio data, rtmp codec lists, etc.
Exemptions (-Wno-cast-qual): vendored librtmp .c files (obs-outputs, per-source), rnnoise (obs-rnnoise target), deps/libcaption, SWIG runtime headers (obs-scripting target for swigluarun.h/swigpyrun.h, plus obslua/obspython), and test/cmocka at directory level.
Public headers: none edited.
Caveats: Windows/macOS-only C files were not built or fixed (the Linux full build cannot see them); the Windows/macOS compilers do not get the flag except macOS/clang via _obs_clang_c_options, so mac CI may reveal more sites. plugins/obs-websocket unchanged.