In unity.c UnityPrintFloat is defined as void UnityPrintFloat(UNITY_DOUBLE number) but it is declared in unity_internals.h as void UnityPrintFloat(const UNITY_DOUBLE number). The parameter is marked as const in the header and not in the source which results in a compile time warning from MSVC at least. Please use const in the source as well as the header.
In unity.c
UnityPrintFloat
is defined asvoid UnityPrintFloat(UNITY_DOUBLE number)
but it is declared in unity_internals.h asvoid UnityPrintFloat(const UNITY_DOUBLE number)
. The parameter is marked asconst
in the header and not in the source which results in a compile time warning from MSVC at least. Please use const in the source as well as the header.