The source uses C11 syntax such as comments and some compilers print
warnings without specifying this flag.
Details
Details
- Reviewers
thakis - Commits
- rZORG39e4dd94581c: [crt] Use -std=c11 for crtbegin.o/crtend.o
rZORG8e8df8181bbb: [crt] Use -std=c11 for crtbegin.o/crtend.o
rG39e4dd94581c: [crt] Use -std=c11 for crtbegin.o/crtend.o
rG8e8df8181bbb: [crt] Use -std=c11 for crtbegin.o/crtend.o
rGfc86c7fca313: [crt] Use -std=c11 for crtbegin.o/crtend.o
rCRT360459: [crt] Use -std=c11 for crtbegin.o/crtend.o
rL360459: [crt] Use -std=c11 for crtbegin.o/crtend.o
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I've noticed that builtins use C11 (https://github.com/llvm/llvm-project/blob/master/compiler-rt/lib/builtins/CMakeLists.txt#L575) so I've done the same here. I'm fine unifying this but I'd prefer to do it in a followup.