anthropics / anthropics/claudes-c-compiler

Hello world does not compile

Đang mở
#1 336 bình luận 2537 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
2.8k
Fork
247
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Tested inside fedora 43 container, ubuntu 26.04 container and on regular fedora 42 installation, same error
Took example directly from README.md
GCC is present and can compile code just fine:
```
root:/claudes-c-compiler# cat > hello.c << 'EOF'
#include
int main(void) {
printf("Hello from CCC!\n");
return 0;
}
EOF
root:/claudes-c-compiler# ./target/release/ccc -o hello hello.c
/usr/include/stdio.h:34:10: error: stddef.h: No such file or directory
/usr/include/stdio.h:37:10: error: stdarg.h: No such file or directory
ccc: error: 2 preprocessor error(s) in hello.c
root:/claudes-c-compiler# gcc -o hello hello.c
root:/claudes-c-compiler# ./hello
Hello from CCC!
root@1b5343a2f014:/claudes-c-compiler#```

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á.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.