Fixed GCC 4.5 and older build #566

This commit is contained in:
Christophe Riccio
2016-12-01 23:05:43 +01:00
parent 57091f8553
commit 2dda5af72c
11 changed files with 53 additions and 27 deletions

View File

@@ -226,7 +226,7 @@ int test_instruction_set()
int test_cpp_version()
{
std::printf("__cplusplus: %lld\n", __cplusplus);
std::printf("__cplusplus: %d\n", static_cast<int>(__cplusplus));
return 0;
}