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
I am building notcurses 3.0.9. I see this build error on Windows when building with GCC 7:
/workspace/srcdir/notcurses/src/demo/animate.c: In function ‘spin_cycle’: -- | [21:04:40] /workspace/srcdir/notcurses/src/demo/animate.c:134:19: error: empty scalar initializer | [21:04:40] 134 \| mbstate_t mbs = { }; | [21:04:40] \| ^ | [21:04:40] /workspace/srcdir/notcurses/src/demo/animate.c:134:19: note: (near initialization for ‘mbs’) | [21:04:40]
I believe the C 11 standard does not allow initializing variables via {}, i.e. via empty initializer lists.
{}
The same problem might exist further down in the same file in line 271 ncprogbar_options popts = { };.
ncprogbar_options popts = { };
The text was updated successfully, but these errors were encountered:
yeah, we ought be using the = { 0 } form, good call
= { 0 }
Sorry, something went wrong.
c19a715
should be resolved. thanks!
dankamongmen
No branches or pull requests
I am building notcurses 3.0.9. I see this build error on Windows when building with GCC 7:
I believe the C 11 standard does not allow initializing variables via
{}
, i.e. via empty initializer lists.The same problem might exist further down in the same file in line 271
ncprogbar_options popts = { };
.The text was updated successfully, but these errors were encountered: