Open romulous75 opened 2 months ago
It's best to use GCC for this project, we can assume that it's not compatible with MSVC at the moment.
We're not using MSVC here, so feel free to make a PR if you end up getting it to work on your end.
I would rather keep it clean and not have any compile-time #if MSVC
in the code so if you want to help fix this I recommend finding a solution that is cross-platform for a PR to be accepted.
In main.cpp :
#define XENONCODE_IMPLEMENTATION
#include "XenonCode/XenonCode.hpp"
Output:
include\XenonCode\XenonCode.hpp(4916,102): error C2440: 'initializing': cannot convert from 'std::chrono::steady_clock::time_point' to 'std::chrono::time_point<std::chrono::system_clock,std::chrono::duration<double,std::milli>>'
include\XenonCode\XenonCode.hpp(6586,43): error C3539: a template-argument cannot be a type that contains 'auto'
include\XenonCode\XenonCode.hpp(6664,12): error C2664: 'void XenonCode::Computer::RunCode::<lambda_4>::operator ()(std::vector<int,std::allocator<int>> &) const': cannot convert argument 1 from 'std::vector<std::string,std::allocator<std::string>>' to 'std::vector<int,std::allocator<int>> &'
include\XenonCode\XenonCode.hpp(6668,12): error C2664: 'void XenonCode::Computer::RunCode::<lambda_4>::operator ()(std::vector<int,std::allocator<int>> &) const': cannot convert argument 1 from 'std::vector<double,std::allocator<double>>' to 'std::vector<int,std::allocator<int>> &'
include\XenonCode\XenonCode.hpp(6671,12): error C2664: 'void XenonCode::Computer::RunCode::<lambda_4>::operator ()(std::vector<int,std::allocator<int>> &) const': cannot convert argument 1 from 'std::vector<std::string,std::allocator<std::string>>' to 'std::vector<int,std::allocator<int>> &'