Suppress "packed member" warning
This commit is contained in:
parent
2471a8bb91
commit
1d431fe8d2
1 changed files with 6 additions and 0 deletions
|
@ -20,6 +20,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#if __GNUC__ > 8
|
||||
// The NXP platform updated GCC from 7.2.1 to 9.2.1
|
||||
// and this new warning apparently can be ignored.
|
||||
#pragma GCC diagnostic ignored "-Waddress-of-packed-member"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Arduino SdFat Library
|
||||
* Copyright (c) 2009 by William Greiman
|
||||
|
|
Reference in a new issue