-
Committer:
Mathieu Desnoyers
-
Author(s):
Jonathan Rajotte
-
Date:
2019-07-04 20:11:43 UTC
-
Revision ID:
git-v1:4ea9b7c98ade603b08f0d945f4d99bc079eb57b6
Fix: do not use diagnostic pragma when GCC version is lower than 4.6.0
Officially the diagnostic pragma are supported starting in 4.6. [1]
But they were present before 4.6 with limitation which we cannot
honour easily.
[1] https://gcc.gnu.org/gcc-4.6/changes.html
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>