-
Notifications
You must be signed in to change notification settings - Fork 337
Makefile modernization #34
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
Conversation
barusan's patch mostly retains compatibility with linux, but unconditionally used machdep instead of /proc/cpuinfo This attempts to merge the patch without harming behaviour on linux by detecting the darwin platform and using machdep there but restores /proc/cpuinfo elsewhere.
update optimization flags use Makefile patterns to reduce duplication remove -ansi flag (increase portability) add missing dependencies
const correctness format string safety remove assigned, but unused, variables fix arguments to execl() remove defined but unused warnings (for code used only by some tests)
('-ansi' compiler flag might have caused some declarations to be hidden)
|
Tested on Linux by @gstrauss (me). |
|
Tony, Can you review this pull request? |
|
@voellm: would you review this pull request? Thank you. |
|
@voellm: would you review this pull request? Thank you. |
1 similar comment
|
@voellm: would you review this pull request? Thank you. |
|
@voellm: would you review this pull request? Thank you. @kdlucas: I'll wait another week for any sign of life, but after that I plan to contact github admins to break my fork from this project so that it can be maintained independently. It's been over a month of complete radio silence despite weekly requests for feedback. |
|
I can do the review if you like. I'm not really well versed in it, but at Kelly On Wed, Apr 27, 2016 at 8:30 PM, Glenn Strauss [email protected]
|
|
Thanks @kdlucas. I am a fan of (timely) code reviews and am happy to try to answer/explain any questions you might have related to the patches, such as why I chose to do things one way versus another way when there were multiple options. FYI: there are 5 separate commits in this pull request, done so that it would be easier to review each one in isolation. |
|
Ok, I'll take a look over the next few days. Kelly On Wed, Apr 27, 2016 at 11:00 PM, Glenn Strauss [email protected]
|
Makefile modernization
fix compiler warnings
remove declarations which dup from system headers
Includes and supercedes #31 :
Fix for OS X based on https://gist.github.com/barusan/11033924
Add .gitignore