Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9960b6e

Browse files
authored
Merge pull request#171 from fpistm/gcc_check
Added checking gcc version
2 parentsedf583e +09e08b7 commit9960b6e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎cores/arduino/Arduino.h‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@
2020
#ifndefArduino_h
2121
#defineArduino_h
2222

23+
#ifndefGCC_VERSION
24+
#defineGCC_VERSION (__GNUC__ * 10000 \
25+
+ __GNUC_MINOR__ * 100 \
26+
+ __GNUC_PATCHLEVEL__)
27+
#endif
28+
#ifGCC_VERSION<60300
29+
#error "GCC version 6.3 or higher is required"
30+
#endif
31+
2332
#include"wiring.h"
2433

2534
/* sketch */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp