[Info-vax] [OT?] Should compiler warnings be treated as errors ?
John Reagan
xyzzy1959 at gmail.com
Mon Sep 13 11:29:27 EDT 2021
On Sunday, September 12, 2021 at 9:04:00 AM UTC-4, Simon Clubley wrote:
>
> OTOH, going the other way, I wonder if the LLVM compilers (with the
> normal LLVM frontends instead of hybrid GEM frontend/LLVM backend)
> will find things in the VMS source code that DEC C might have missed.
Compiler(S) plural?
Are you asking could we take OpenVMS C source code and run it through the clang
compiler in "C mode"? That probably won't work in general as the code often uses
features not in clang (#pragma linkage, /STANDARD=VAXC, etc.). There might
be some C code that doesn't rely on such things that could be compiled with
"clang-in-C-mode" but I haven't thought that far into the future.
More information about the Info-vax
mailing list