We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This seems like it is likely operator error, when I include pngle.h I get a compile time error from the statement
pngle.h
type struct _pngle_t pngle_t;
In the Arduino environment, the esp32 compiler is complaining that struct _pngle_t isn't defined (which it isn't yet as it is defined in the C code).
struct _pngle_t
The text was updated successfully, but these errors were encountered:
Thank you for trying to use pngle!
Sorry for confusing, but it's intended. typedef an incomplete type of struct is a common technique in C. Such object cannot be instanciated directly.
typedef
Instead, please use a pointer to hold a pngle instance, like: pngle_t *pngle = pngle_new(); and, shouldn't be like: pngle_t pngle; or something.
pngle_t *pngle = pngle_new();
pngle_t pngle;
Sorry, something went wrong.
No branches or pull requests
This seems like it is likely operator error, when I include
pngle.h
I get a compile time error from the statementIn the Arduino environment, the esp32 compiler is complaining that
struct _pngle_t
isn't defined (which it isn't yet as it is defined in the C code).The text was updated successfully, but these errors were encountered: