Welcome! Log In Create A New Profile

Advanced

wont compile struct fpos_t

Posted by Jfox 
wont compile struct fpos_t
July 28, 2016 02:46PM
trying to update my config .h file for revolution xl from here [github.com]
get an error in SdFat.h
saying

exit status 1
using typedef-name 'fpos_t after stuct'
any idea what this is about?Im just wading into this any help would be appreciated Jim






#endif // ALLOW_DEPRECATED_FUNCTIONS
};

//------------------------------------------------------------------------------
/**
* \struct fpos_t
* \brief internal type for istream
* do not use in user apps
*/
struct fpos_t {
/** stream position */
uint32_t position;
/** cluster for position */
uint32_t cluster;
fpos_t() : position(0), cluster(0) {}
};

Edited 1 time(s). Last edit at 07/28/2016 02:50PM by Jfox.
Re: wont compile struct fpos_t
August 14, 2016 05:03AM
Sorry, only registered users may post in this forum.

Click here to login