[En-Nut-Discussion] stm32_can.c fails to build
harald.kipp at egnite.de
Mon Aug 20 11:43:11 CEST 2012
On 20.08.2012 11:07, Uwe Bonnes wrote:
> Either when compiling the compiler barfs about the aliasing, and the
> implementers sees the __MAY_ALIAS attribute and looks for the attribute to
> use on his compiler, or the compiler doesn't barf and everything is fine.
> So I vote not to add the requierement TOOL_GCC for CM3.
I tend to shout out the always the same phrase when someone wants to solve problems with compiler-specific functions.
But in this case you're right. I overlooked that it is a GCC specific warning. TOOL_GCC is indeed not required.
More information about the En-Nut-Discussion