Skip to content

Commit

Permalink
Fix invalid #pragma clang in GCC compiler header
Browse files Browse the repository at this point in the history
  • Loading branch information
JonatanAntoni committed Feb 29, 2024
1 parent 4d18b8d commit 926f614
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMSIS/Core/Include/cmsis_gcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#ifndef __CMSIS_GCC_H
#define __CMSIS_GCC_H

#pragma clang system_header /* treat file as system include file */
#pragma GCC system_header /* treat file as system include file */

#include <arm_acle.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ layer:
- +CM0plus
- +CM3
- +CM4
- +CM4FP
- +CM7
- +CM7SP
- +CM7DP
- file: ../../../Source/CV_MPU_ARMv8.c
for-context:
- +CM23
Expand Down
1 change: 1 addition & 0 deletions CMSIS/CoreValidation/Project/Validation.csolution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ solution:
- for-compiler: GCC
C-CPP:
- -masm-syntax-unified
- -Wall

packs:
- pack: ARM::CMSIS
Expand Down

0 comments on commit 926f614

Please sign in to comment.