[En-Nut-Discussion] stm32_can.c fails to build
Harald Kipp
harald.kipp at egnite.de
Mon Aug 20 11:43:11 CEST 2012
Hi Uwe,
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.
Regards,
Harald
More information about the En-Nut-Discussion
mailing list