From 2fc8f658e0323f005e5257da457c1a5c151a0ff7 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Wed, 8 Mar 2017 02:00:14 +0100 Subject: community/ucl: move from testing --- testing/ucl/0001-Static-assert.patch | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 testing/ucl/0001-Static-assert.patch (limited to 'testing/ucl/0001-Static-assert.patch') diff --git a/testing/ucl/0001-Static-assert.patch b/testing/ucl/0001-Static-assert.patch deleted file mode 100644 index bdf4900384..0000000000 --- a/testing/ucl/0001-Static-assert.patch +++ /dev/null @@ -1,34 +0,0 @@ -From: Robert Luberda -Date: Sat, 2 Jul 2016 22:23:20 +0200 -Subject: Switch to _Static_assert - -Use _Static_assert for compile-time assertion to fix -build failures with gcc-6 (closes: #811707) ---- - acc/acc_defs.h | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/acc/acc_defs.h b/acc/acc_defs.h -index 866b7bd..5ee3761 100644 ---- a/acc/acc_defs.h -+++ b/acc/acc_defs.h -@@ -87,6 +87,9 @@ - - /* This can be put into a header file but may get ignored by some compilers. */ - #if !defined(ACC_COMPILE_TIME_ASSERT_HEADER) -+# define ACC_COMPILE_TIME_ASSERT_HEADER(e) _Static_assert(e, #e); -+#endif -+#if !defined(ACC_COMPILE_TIME_ASSERT_HEADER) - # if (ACC_CC_AZTECC || ACC_CC_ZORTECHC) - # define ACC_COMPILE_TIME_ASSERT_HEADER(e) extern int __acc_cta[1-!(e)]; - # elif (ACC_CC_DMC || ACC_CC_SYMANTECC) -@@ -100,6 +103,9 @@ - - /* This must appear within a function body. */ - #if !defined(ACC_COMPILE_TIME_ASSERT) -+# define ACC_COMPILE_TIME_ASSERT(e) _Static_assert(e, #e); -+#endif -+#if !defined(ACC_COMPILE_TIME_ASSERT) - # if (ACC_CC_AZTECC) - # define ACC_COMPILE_TIME_ASSERT(e) {typedef int __acc_cta_t[1-!(e)];} - # elif (ACC_CC_DMC || ACC_CC_PACIFICC || ACC_CC_SYMANTECC || ACC_CC_ZORTECHC) -- cgit v1.2.3