formalize standards support
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 15/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- c
- Lĩnh vực
- build-system
Hướng nghiên cứu
Start with the build files, looking for -ansi, -pedantic and where CFLAGS is set, since the proposal asks to drop the former and add -std=c99. The platform questions (netware #294, VMS #453) and the Visual Studio check need maintainer decisions before any edit, and the thread has been idle for years. Done means the flags are updated across build files only after the maintainers agree on the supported platforms and compilers.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
i propose we require C99 in GD-2.3+. it's the default in gcc/clang and has been for some time, and none of us are really testing elsewhere.
are there any platforms we care about anymore where this would be a problem ?
i don't think embedded systems (https://github.com/libgd/libgd/issues/169#issuecomment-225336212) should be an issue here ... C99 compilers aren't a new thing.
we should double check Visual Studio status and probably formalize that supported version too.
more concretely:
- drop usage/support for
-ansiand-pedanticeverywhere - drop support for netware (#294)
- drop support for VMS (#453)
- add
-std=c99toCFLAGSin our build files
this should help simplify #451 (trailing commas w/enums).
- Ngôn ngữ chính
- C
- Star
- 985
- Fork
- 289
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của libgd/libgd
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
New version? fix vulns?Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
libgd: Uninitialized Stack Read in gdImageScaleBicubicFixed Leading to Out-of-bounds Pixel AccessĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
libsndfile/libsndfile#1239 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
CommonLoon102/restunts-bb11#101 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100