Suppress "packed member" warning

This commit is contained in:
Scott Lahteine 2020-02-22 19:26:52 -06:00
parent 5f27f7de47
commit 2b759b9e8d

View File

@ -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 * Arduino SdFat Library
* Copyright (c) 2009 by William Greiman * Copyright (c) 2009 by William Greiman