LPATHBench
LPATHBench copied to clipboard
Compilation fixes
A few little compiler warnings cleanups and makefile improvements. I also think you should consider changing -O2 to -O3 as that makes the c_fast benchmark much faster when compiled with clang. Clang in general beats gcc on my machine.
@lgeek, I apologise for not making myself more clear. My intention with this pr was not to invest to much time in your LPathBench project. I just wanted to share the changes I needed to make it work well for me. Feel free to reject this pr, apply it or do whatever you want with it. Sorry, but I don't have either the time or the interest in working more on it.
@bjourne Sorry if this is wasn't clear, but this is not my project. I just wrote the c-fast implementation and I've only reviewed the patches related to it. It's not up to me what gets merged. I've pointed out the changes which either break things (e.g. the printf one) or which change behavior (the flags).
I think "%"PRIu64 is the right way to express the format. Though it appears that %lu does not break anything on 32bit platforms.