Meinersbur wrote:

> I understand having a developer option to ignore the error, but I do not 
> think we should advertise it to users as an option to get around such errors 
> after a compiler update (if that is the reason why you are adding it).

There would be the possibility to make the option hidden and/or to add a big 
warning about using it in the documentation.

Personally, I don't think compilation should fail after a compiler update, just 
like one does not need recompile every .a/.so after updating gcc/clang. CMake 
for instance purposefully ignores dependencies to intrinsic modules, i.e. 
updating them does not trigger a recompilation, the user has to explicitly 
clear the build directory. The content of the instrinsic modules are defined by 
the Fortran specification, ideally there shouldn't be any 
backwards-compatibility problems. I think a warning about it should be 
sufficient.

https://github.com/llvm/llvm-project/pull/219181
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to