Skip to content

Conversation

@gstrauss
Copy link
Collaborator

Makefile modernization

  • update optimization flags
  • use Makefile patterns to reduce duplication
  • remove -ansi flag (increase portability)
  • add missing dependencies

fix compiler warnings

  • 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)

remove declarations which dup from system headers

  • ('-ansi' compiler flag might have caused some declarations to be hidden)

Includes and supercedes #31 :
Fix for OS X based on https://gist.github.com/barusan/11033924

Add .gitignore

tomcatzh and others added 5 commits March 24, 2016 15:48
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)
@gstrauss
Copy link
Collaborator Author

Tested on Linux by @gstrauss (me).
Tested on OS X by @mihalis68

@kdlucas
Copy link
Owner

kdlucas commented Mar 24, 2016

Tony,

Can you review this pull request?

@gstrauss
Copy link
Collaborator Author

gstrauss commented Apr 7, 2016

@voellm: would you review this pull request? Thank you.

@gstrauss
Copy link
Collaborator Author

@voellm: would you review this pull request? Thank you.

1 similar comment
@gstrauss
Copy link
Collaborator Author

@voellm: would you review this pull request? Thank you.

@gstrauss
Copy link
Collaborator Author

@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.

@kdlucas
Copy link
Owner

kdlucas commented Apr 28, 2016

I can do the review if you like. I'm not really well versed in it, but at
least that will let you get it checked in. We probably need to get another
person on the project to do code reviews and features if needed.

Kelly
kdLucas

On Wed, Apr 27, 2016 at 8:30 PM, Glenn Strauss [email protected]
wrote:

@voellm https://github.com/voellm: would you review this pull request?
Thank you.

@kdlucas https://github.com/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.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#34 (comment)

@gstrauss
Copy link
Collaborator Author

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.

@kdlucas
Copy link
Owner

kdlucas commented Apr 28, 2016

Ok, I'll take a look over the next few days.

Kelly
kdLucas

On Wed, Apr 27, 2016 at 11:00 PM, Glenn Strauss [email protected]
wrote:

Thanks @kdlucas https://github.com/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.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#34 (comment)

@kdlucas kdlucas merged commit c22488d into kdlucas:master May 1, 2016
@gstrauss gstrauss deleted the Makefile-modernization branch May 2, 2016 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants