Closed cgmb closed 1 year ago
As the dropped define change actually isn't in the code base yet anyone using FLT16_MAX can add the compiler define or add a define just before including float.h (developers need to treat them as a pair if you want the extension defines), then order doesn't matter. In the future you will need to add the define to get expected defines for float16s. e.g.
Describe the bug
The
<rocblas/rocblas.h>
header defines__STDC_WANT_IEC_60559_TYPES_EXT__
, which may result in the behaviour of a program changing depending on the order of includes.To Reproduce
Create
before.cpp
:Then create
after.cpp
:Compile and executed the two programs:
Expected behavior
The behavior of the program should not depend on the include order.
Additional context
This issue was originally filed as SWDEV-343901. It is duplicated here so that users without access to the original ticket can still track the status.