[isabelle-dev] clang error
Norbert Schirmer
nschirmer at apple.com
Thu Jul 25 10:00:39 CEST 2024
> On 24. Jul 2024, at 23:36, Makarius <makarius at sketis.net> wrote:
>
> On 7/24/24 19:27, Achim D. Brucker wrote:
>> Still, it might be worth a try to check if the error goes away when
>> using the attached script. This requires to configure the cpp_path:
>> declare[[cpp_path="/path/to/cpp"]]
>> Where cpp is the attached script.
>
> Normally such things are done via ISABELLE_CPP from etc/settings, but this needs to be provided by the Isabelle distribution: AFP cannot assume a system component context with etc/settings active, only a plain session directory (option -d or -D for build-related tools).
>
> The AutoCorres2 ML bash command line will then use $ISABELLE_CPP without quotes or escapes, to allow additional options on the command.
>
> The in-theory config option does not quite make sense to me: it needs to be configured in the system context, not the theory context. So that attribute could just disappear, unless there are odd reasons to keep it. (Many things in AutoCorres2 are odd.)
One use case is to configure a cpp script there that does some additional checks before invoking the actual cpp. Typically a per session setting would be enough, but in general there could be multiple “install_C_file” commands in one session that want to use different settings.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman46.in.tum.de/pipermail/isabelle-dev/attachments/20240725/338208b5/attachment-0001.htm>
More information about the isabelle-dev
mailing list