RT-Thread / rt-thread

RT-Thread is an open source IoT Real-Time Operating System (RTOS).
https://www.rt-thread.io
Apache License 2.0
10.51k stars 5.03k forks source link

MDK ARMCLANG build error #3902

Closed geniusgogo closed 4 years ago

geniusgogo commented 4 years ago

../middleware/rt-thread/include\rtthread.h(24): warning: In file included from... ../middleware/rt-thread/include\rtdef.h(1094): warning: In file included from... ../middleware/rt-thread/include/rtlibc.h(15): warning: In file included from... ../middleware/rt-thread/include/libc/libc_stat.h(14): error: 'sys/stat.h' file not found

geniusgogo commented 4 years ago

顺便透漏一下:armclang里是可以采用GNU模式编译的,所以会在编译时有GNU宏定义

BernardXiong commented 4 years ago

@mysterywolf Please check them carefully.

mysterywolf commented 4 years ago

got it 麻烦标个bug label

mysterywolf commented 4 years ago

bug已排除 @BernardXiong @geniusgogo https://github.com/RT-Thread/rt-thread/pull/3898/commits/0c77057fe9717dd7b91e1fa2705e1a994e4612d2

geniusgogo commented 4 years ago

@mysterywolf 单独发我一份patch,我先测试一下

mysterywolf commented 4 years ago

@geniusgogo https://github.com/mysterywolf/rt-thread 你可以fork一份

geniusgogo commented 4 years ago

@geniusgogo https://github.com/mysterywolf/rt-thread 你可以fork一份

可以了,我这里编译通过

mysterywolf commented 4 years ago

@geniusgogo https://github.com/mysterywolf/rt-thread 你可以fork一份

可以了,我这里编译通过

@BernardXiong OK了

BernardXiong commented 4 years ago

PR呢?合并在哪?

mysterywolf commented 4 years ago

PR呢?合并在哪?

https://github.com/RT-Thread/rt-thread/pull/3898 这里 第四个commit

mysterywolf commented 4 years ago

这个issue可以关了 @geniusgogo