'Float' number_float_function_t template parameter name conflicts with C '#define Float float' #1775
Labels
kind: bug
solution: invalid
the issue is not related to the library
solution: wontfix
the issue will not be fixed (either it is impossible or deemed out of scope)
'Float' number_float_function_t template parameter name conflicts with C
#define Float float
:What is the expected behavior?
Compilation should succeed as Template parameter shall be unlike standard type names e.g. FloatT instead of Float to prevent collisions.
And what is the actual behavior instead?
Msvc 2017:
error C2993: 'float': illegal type for non-type template parameter '__formal'
Which compiler and operating system are you using? Is it a supported compiler?
Msvc 2017
Did you use a released version of the library or the version from the
develop
branch?3.7.0
If you experience a compilation error: can you compile and run the unit tests?
The text was updated successfully, but these errors were encountered: