dangmoody / HLML

Auto-generated maths library for C and C++ based on HLSL/Cg
24 stars 1 forks source link

Compilation errors in VS 2022 #57

Closed bonorumetmalorum closed 2 years ago

bonorumetmalorum commented 2 years ago

Trying to compile in a cpp project on visual studio 2022 tool chain results in the following two errors:

Error c3861 is easily solved by including assert.h at the top of hlml.h. C4146 can be fixed by removing the "-" from the return types of negation operator functions.

dangmoody commented 2 years ago

On it.

dangmoody commented 2 years ago

First bug fixed in a789bde.

Second bug fixed in 45023ef.

I'll close this when the release containing the fixes goes live.

dangmoody commented 2 years ago

Fixed in v2.1.0