diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-10-09 18:48:37 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:55:45 +0000 |
commit | 67d94d29c154a376d12e582421323c1d250da20c (patch) | |
tree | aa027540d7b90a8797f3a93e56bf5fa5d4d77443 /arm_compute | |
parent | af7e60026f74a7cbb2156862f72508fd9147ea56 (diff) | |
download | ComputeLibrary-67d94d29c154a376d12e582421323c1d250da20c.tar.gz |
COMPMID-1451: Fix compilation issues under gcc 8
Change-Id: I05d3447336ee0bf330e2a0c58fc6904be1db8f83
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/152626
Tested-by: bsgcomp <bsgcomp@arm.com>
Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Diffstat (limited to 'arm_compute')
-rw-r--r-- | arm_compute/core/CL/OpenCL.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arm_compute/core/CL/OpenCL.h b/arm_compute/core/CL/OpenCL.h index 468e1792f0..be6ade65a5 100644 --- a/arm_compute/core/CL/OpenCL.h +++ b/arm_compute/core/CL/OpenCL.h @@ -37,6 +37,9 @@ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Weffc++" #pragma GCC diagnostic ignored "-Wignored-qualifiers" +#if defined(__GNUG__) && __GNUG__ >= 8 +#pragma GCC diagnostic ignored "-Wcatch-value" +#endif // defined(__GNUG__) && __GNUG__ >= 8 #include <CL/cl2.hpp> #pragma GCC diagnostic pop |