Fix: do not use diagnostic pragma when GCC version is lower than 4.6.0
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 4 Jul 2019 20:02:13 +0000 (16:02 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 4 Jul 2019 20:14:17 +0000 (16:14 -0400)
commit2d458b01959f9875ac6c9b5304076ab2c5fc1ccf
tree1c58836b77fd7b08424d7b8a62cbb6ff2c616f2d
parentb69ebac8298c6b6065a5bb04f5d3fc7a035e25da
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>
lib/bitfield.h
This page took 0.025617 seconds and 4 git commands to generate.