Displaying 3 results from an estimated 3 matches for "g7449e964c".
2017 Jul 12
2
[PATCH] Avoid -Wsometimes-uninitialized error for valid test code
.....8b878607 100644
--- a/tests/test_opus_common.h
+++ b/tests/test_opus_common.h
@@ -64,6 +64,8 @@ static opus_uint32 iseed;
#ifdef __GNUC__
__attribute__((noreturn))
+#elif _MSC_VER
+__declspec(noreturn)
#endif
static OPUS_INLINE void _test_failed(const char *file, int line)
{
--
2.13.2.932.g7449e964c-goog
2017 Jul 12
1
[PATCH] Avoid -Wsometimes-uninitialized error for valid test code
...t; __attribute__((noreturn))
>> +#elif _MSC_VER
>
> defined(_MSC_VER) would avoid any new warnings from -Wundef.
>
>> +__declspec(noreturn)
>> #endif
>> static OPUS_INLINE void _test_failed(const char *file, int line)
>> {
>> --
>> 2.13.2.932.g7449e964c-goog
>>
>> _______________________________________________
>> opus mailing list
>> opus at xiph.org
>> http://lists.xiph.org/mailman/listinfo/opus
> _______________________________________________
> opus mailing list
> opus at xiph.org
> http://lists.xiph.o...
2017 Jul 12
0
[PATCH] Avoid -Wsometimes-uninitialized error for valid test code
...uint32 iseed;
>
> #ifdef __GNUC__
> __attribute__((noreturn))
> +#elif _MSC_VER
defined(_MSC_VER) would avoid any new warnings from -Wundef.
> +__declspec(noreturn)
> #endif
> static OPUS_INLINE void _test_failed(const char *file, int line)
> {
> --
> 2.13.2.932.g7449e964c-goog
>
> _______________________________________________
> opus mailing list
> opus at xiph.org
> http://lists.xiph.org/mailman/listinfo/opus