mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-20 14:29:55 +02:00
Merge pull request #537 from marckleinebudde/bcmserver-fix-warning-better
bcmserver: use pragma to silence unknown pragma option
This commit is contained in:
@@ -156,6 +156,7 @@ int main(void)
|
|||||||
char rxmsg[50];
|
char rxmsg[50];
|
||||||
|
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wpragmas"
|
||||||
#pragma GCC diagnostic ignored "-Wgnu-variable-sized-type-not-at-end"
|
#pragma GCC diagnostic ignored "-Wgnu-variable-sized-type-not-at-end"
|
||||||
struct {
|
struct {
|
||||||
struct bcm_msg_head msg_head;
|
struct bcm_msg_head msg_head;
|
||||||
|
|||||||
Reference in New Issue
Block a user