initial import from Debian
version: 14.3.0-5 commit: bee30ab0fff2fd6af94c62376c8aa4221bb831e0
This commit is contained in:
16
debian/patches/testsuite-glibc-warnings.diff
vendored
Normal file
16
debian/patches/testsuite-glibc-warnings.diff
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
# DP: fix testcases that triggered -Wunused-result with glibc
|
||||
# DP: Author: Steve Beattie <steve.beattie@canonical.com>
|
||||
---
|
||||
src/gcc/testsuite/c-c++-common/cilk-plus/AN/comma_exp.c | 2 +-
|
||||
src/gcc/testsuite/c-c++-common/tsan/fd_pipe_race.c | 1 +
|
||||
2 files changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
--- a/src/gcc/testsuite/c-c++-common/tsan/fd_pipe_race.c
|
||||
+++ b/src/gcc/testsuite/c-c++-common/tsan/fd_pipe_race.c
|
||||
@@ -1,5 +1,5 @@
|
||||
/* { dg-shouldfail "tsan" } */
|
||||
-/* { dg-additional-options "-ldl" } */
|
||||
+/* { dg-additional-options "-Wno-unused-result -ldl" } */
|
||||
|
||||
#include <pthread.h>
|
||||
#include <unistd.h>
|
Reference in New Issue
Block a user