Skip to content

Commit

Permalink
Suppress "packed member" warning
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Feb 23, 2020
1 parent 5f27f7d commit 2b759b9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Marlin/src/sd/SdBaseFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2b759b9

Please sign in to comment.