Closed the-slow-one closed 3 weeks ago
icpx fails to compile the following code on Windows
icpx
#include <windows.h> #include <dpct/dpct.hpp> int main() { return 0; }
The compile error indicates the min/max marco expansion (defined in winmindef.h) in DPCT runtime headers.
This PR fixes the issue by preventing preprocessing of min/max using parentheses.
icpx
fails to compile the following code on WindowsThe compile error indicates the min/max marco expansion (defined in winmindef.h) in DPCT runtime headers.
This PR fixes the issue by preventing preprocessing of min/max using parentheses.