We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is the output if ARMCC is used with --gnu flag (thus __GNUC__ is defined). This is causing the following warnings:
--gnu
__GNUC__
[Warning] arm_math.h@298,0: #2803-D: unrecognized GCC pragma [Warning] arm_math.h@299,0: #2803-D: unrecognized GCC pragma [Warning] arm_math.h@300,0: #2803-D: unrecognized GCC pragma [Warning] arm_math.h@301,0: #2803-D: unrecognized GCC pragma [Warning] arm_math.h@4949,0: #3108-D: attribute "__packed__" does not apply here [Warning] arm_math.h@4957,0: #3108-D: attribute "__packed__" does not apply here [Warning] arm_math.h@7218,0: #2803-D: unrecognized GCC pragma
This is causing pragma warnings: https://github.com/ARM-software/CMSIS_5/blob/develop/CMSIS/DSP/Include/arm_math.h#L297 (one more line in the end of the file also). The pragma are easy to fix - add "not defined ARMCC" : #if defined(__GNUC__) && !defined ( __CC_ARM ). I'll can send a patch for review
#if defined(__GNUC__) && !defined ( __CC_ARM )
However, how to fix the __packed__ attribute?
__packed__
I have installed armcc 5.23 that I am testing with.
The text was updated successfully, but these errors were encountered:
Proposed fix : #189
Sorry, something went wrong.
DSP: Fix issue #188 gnu compiler specific diagnostics in arm_math.h
27ef13c
5480572
There were several changes to arm_math.h since this issue was opened.
I'll think this issue is fixed. Feel free to reopen it if you still have the problem.
christophe0606
Successfully merging a pull request may close this issue.
This is the output if ARMCC is used with
--gnu
flag (thus__GNUC__
is defined). This is causing the following warnings:This is causing pragma warnings: https://github.com/ARM-software/CMSIS_5/blob/develop/CMSIS/DSP/Include/arm_math.h#L297 (one more line in the end of the file also). The pragma are easy to fix - add "not defined ARMCC" :
#if defined(__GNUC__) && !defined ( __CC_ARM )
. I'll can send a patch for reviewHowever, how to fix the
__packed__
attribute?I have installed armcc 5.23 that I am testing with.
The text was updated successfully, but these errors were encountered: