On 29 February 2016 at 18:48, Kyrill Tkachov <[email protected]> wrote: > Hi all, > > Now that we've moved to pragmas guarding the various intrinsics in > arm_neon.h I think we should still > throw a #error if someone tries to include the header while compiling for > -mfloat-abi=soft. > > This gives a more helpful error message when someone has a compiler > configured --with-float=soft > and forgets to add an appropriate -mfloat-abi option on the command line. > Currently we'll just give tons of error messages whereas with this patch we > just > show a simple clean message. > > Tested on arm. This could be argued to be a user experience regression fix. Agreed :)
> Ok for trunk? > > Thanks, > Kyrill > > 2016-02-29 Kyrylo Tkachov <[email protected]> > > * config/arm/arm_neon.h: Show error if using with soft-float ABI.
