-
Notifications
You must be signed in to change notification settings - Fork 78
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
Removed "aacinfo" project also from the solution file + use less obscure <getopt.h> implementation #8
Conversation
…tools (Opus-Tools, FLAC, etc). This fixes a compiler warning about the incompatible re-definition of a function that was already defined in <stdlib.h> + we no longer include "getopt.C" into the "main.c".
It looks like getopt1.c is not needed. |
If I exclude
I guess you don't "see" that problem with non-MSVC compilers, as those have (Note: Opus-Tools and FLAC both have |
I can't see how it is less obscure, in fact it's more obscure. |
Current implementation:
|
It looks like your "patch" wouldn't even work on all systems lacking getopt which is unacceptable. |
It was back-ported from Xiph.org tools (Opus-Enc, FLAC, etc), so I'm pretty confident that those should be well-tested on all the various platforms where they are relevant. Note: *NIX platforms (Unix, Linux, etc.) have their own "system" In any case, |
I'm sure those guys are smart enough to do it the right way but your change doesn't solve any problem yet creates new ones.
They are likely to have it but I'm not sure it's guaranteed. getopt.h existence is always checked and |
Well, it at least solves the problem that current (old)
Agree. That's why |
Part 2️⃣