I've also found the problem with compiling hodl with gcc 6.3. There was a macro named min
defined in miner.h. Don't know why compiler version matters.
Crumbling on "min" and "max"
What does it affect?
#ifndef min
#define min(a,b) (a>b ? (b) :(a))
#endif
#ifndef max
#define max(a,b) (a#endif
If you rename?
I risked
Replace with
#ifndef minmin
#define minmin(a,b) (a>b ? (b) :(a))
#endif
#ifndef maxmax
#define maxmax(a,b) (a#endif
On W7-64 GCC 6.3 FX-6300 i3-2200 Compilation successful - aes-avx, sse42.
Before v9 v10 compile collapsed
./configure CFLAGS="-Ofast -march=corei7-avx -Wall" CXXFLAGS="$CFLAGS -std=gnu++11" --with-crypto --with-curl
./configure CFLAGS="-Ofast -march=corei7 -Wall" CXXFLAGS="$CFLAGS -std=gnu++11" --with-crypto --with-curl
Test AMD deviations from the original are not revealed for 10 algorithms.