-
-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
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
"'opt*' redeclared without dllimport attribute: previous dllimport ignored" warnings in Cygwin #710
Comments
This is because we're re-implementing |
I renamed all the symbols when I imported a snapshot of this getopt reimplementation into my own project. See musl_getopt.c in pinobatch/little-things-nes. |
Renaming all the symbols avoids any dependency on the ones declared by unistd.h. It also makes extern/getopt.c actually used, and thus checked by checkpatch. (I had tried different combinations of declaring or not declaring some variables as |
When I
make
rgbds in Cygwin x64 on Windows 8.1, it gives these warnings:(For some reason they don't come up regarding every instance of
#include "extern/getopt.h"
.)The text was updated successfully, but these errors were encountered: