As Lundin states in his answer, this appears to be a tool configuration issue... talk to your vendor.
--
But... noting your code:
#define BOOT_VD_TRUE ((uint8_t)(0x00U)) /* ADB notes: TRUE = 0 */
#define BOOT_VD_FALSE ((uint8_t)(0x01U)) /* ADB notes: FALSE = 1 */
I assume your specifying of TRUE = 0
and FALSE = 1
is intentional? But guaranteed to confuse the heck out of most people... so I strongly advocate using the traditional false = 0, true = 1
--
However...
You don't specify which version of C or which compiler you are using, but unless you are still using a fully-conformant C90-only compiler, the recommendation has to be to use <stdbool.h>
(and even in the era of C90, most compilers had adopted the proposed <stdbool.h>
as a extension):
And even if you insist on using the intermediate names, you can use:
#include <stdbool.h>
#define BOOT_VD_TRUE false // ADB notes: reverse logic retained
#define BOOT_VD_FALSE true // ADB notes: reverse logic retained
void bootInitFlag( bool Val ) // ADB notes: void, as you're not returning anything
{
bool bootFlag = Val;
// Doing something
}
...
bootInitFlag( BOOT_VD_TRUE );