Skip to content
Commit 018dbcfd authored by Ryan McClelland's avatar Ryan McClelland Committed by Chris Friedt
Browse files

cmake: compiler: add double promotion warning



Too many times, code is pushed that includes floats that really
becomes doubles and C implicit promotion rules will want to make
floats into doubles very easily. As zephyr primarily targets
low-end process that may not have a double precision floating
point unit, enable this flag globally for now.

Signed-off-by: default avatarRyan McClelland <ryanmcclelland@meta.com>
parent 432f4a0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment