mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-04 22:09:57 +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];
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wpragmas"
|
||||
#pragma GCC diagnostic ignored "-Wgnu-variable-sized-type-not-at-end"
|
||||
struct {
|
||||
struct bcm_msg_head msg_head;
|
||||
|
||||
Reference in New Issue
Block a user