There seems to be a little problem with your setup. I get some error messages.
MsgBox: Impossibile trovare il punto di ingresso _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcj della procedura nella libreria di collegamento dinamico libstdc++-6.dll.
C:\Masm32\MasmBasic\Members\GabrielRavier\MemCopy>uasm32 -elf MemCopy.asm
"uasm32" non รจ riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
C:\Masm32\MasmBasic\Members\GabrielRavier\MemCopy>g++ testAndBench.cpp *.obj -Ofast -o testGeneric.exe
testAndBench.cpp: In function 'std::string getPrettyTime(double)':
testAndBench.cpp:22:10: error: 'to_string' is not a member of 'std'
return std::to_string(x) + " ns";
^
testAndBench.cpp:24:10: error: 'to_string' is not a member of 'std'
return std::to_string(x / 1000.0) + " us";
^
testAndBench.cpp:26:10: error: 'to_string' is not a member of 'std'
return std::to_string(x / 1000000.0) + " ms";
^
testAndBench.cpp:28:10: error: 'to_string' is not a member of 'std'
return std::to_string(x / 1000000000.0) + " s";
^
testAndBench.cpp: At global scope:
testAndBench.cpp:31:36: error: variable or field 'checkSpeed' declared void
static inline void checkSpeed(std::function<void(const void *src, void *dest, size_t len)> fn, const std::string& funcName)
^
testAndBench.cpp:31:31: error: 'function' is not a member of 'std'
static inline void checkSpeed(std::function<void(const void *src, void *dest, size_t len)> fn, const std::string& funcName)
^
testAndBench.cpp:31:89: error: expression list treated as compound expression in functional cast [-fpermissive]
static inline void checkSpeed(std::function<void(const void *src, void *dest, size_t len)> fn, const std::string& funcName)
^
testAndBench.cpp:31:45: error: expected primary-expression before 'void'
static inline void checkSpeed(std::function<void(const void *src, void *dest, size_t len)> fn, const std::string& funcName)
^
testAndBench.cpp:31:96: error: expected primary-expression before 'const'
static inline void checkSpeed(std::function<void(const void *src, void *dest, size_t len)> fn, const std::string& funcName)
^
C:\Masm32\MasmBasic\Members\GabrielRavier\MemCopy>test
\Masm32\MasmBasic\Members\GabrielRavier\MemCopy>pause
Premere un tasto per continuare . . .