So I've just downloaded the newest version of Marlin and tried to upload to a Sanguino w/ ATmega1284p (16MHz) and have received these errors:
SanityCheck.h:254: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:500: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:559: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:667: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:1140: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:1317: error: expected constructor, destructor, or type conversion before 'float'
SanityCheck.h:1317: error: expected unqualified-id before ',' token
SanityCheck.h:1318: error: expected constructor, destructor, or type conversion before '=' token
SanityCheck.h:1318: error: expected unqualified-id before ',' token
SanityCheck.h:1319: error: expected constructor, destructor, or type conversion before '=' token
SanityCheck.h:1320: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:1321: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:1322: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:1323: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:1324: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:1325: error: expected constructor, destructor, or type conversion before '(' token
I have attached SanityCheck.h for reference
SanityCheck.h:254: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:500: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:559: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:667: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:1140: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:1317: error: expected constructor, destructor, or type conversion before 'float'
SanityCheck.h:1317: error: expected unqualified-id before ',' token
SanityCheck.h:1318: error: expected constructor, destructor, or type conversion before '=' token
SanityCheck.h:1318: error: expected unqualified-id before ',' token
SanityCheck.h:1319: error: expected constructor, destructor, or type conversion before '=' token
SanityCheck.h:1320: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:1321: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:1322: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:1323: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:1324: error: expected constructor, destructor, or type conversion before '(' token
SanityCheck.h:1325: error: expected constructor, destructor, or type conversion before '(' token
I have attached SanityCheck.h for reference