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
When building with GCC 10.2.1, I get:
/path/to/dylib/tests/lib.cpp:4:18: warning: ‘pi_value’ initialized and declared ‘extern’ 4 | DYLIB_API double pi_value = 3.14159; | ^~~~~~~~ /path/to/src/dylib/tests/lib.cpp:5:17: warning: ‘ptr’ initialized and declared ‘extern’ 5 | DYLIB_API void *ptr = (void *)1; | ^~~
The point is that either you declare something extern (coming from elsewhere), or you initialize it, but not both on the same line.
The text was updated successfully, but these errors were encountered:
Hi, I just made your requested changes on #26
Sorry, something went wrong.
Also referenced in #35. I will close this issue
martin-olivier
No branches or pull requests
When building with GCC 10.2.1, I get:
The point is that either you declare something extern (coming from elsewhere), or you initialize it, but not both on the same line.
The text was updated successfully, but these errors were encountered: