C90 Compliance
- Ngôn ngữ chính
- C
- Star
- 5.6k
- Fork
- 510
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
I'm trying to get another library (https://github.com/redis/hiredis) to compile with an app that is shooting for C89/C90 compliance. I'm running into problems. It uses sds.
The errors in sds that are preventing compilation are things like the following:
sds.h:48:10: warning: ISO C90 does not support flexible array members [-Wpedantic]
char buf[];
sds.h:86:8: error: unknown type name ‘inline’
static inline size_t sdslen(const sds s) {
sds.c:640:52: warning: ISO C90 does not support ‘long long’ [-Wlong-long]
Is there any chance that sds (being a low level library) can be changed to become C90 compliant?
Related Issue:
https://github.com/redis/hiredis/issues/494
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.