Errors in Plot after setting global CompilationOptions

I stumbled upon a strange error while working with Mathematica 12.3.1

I tried to set global settings for the “CompilationOptions” of “Compile” using the function SetOptions.

SetOptions[Compile,CompilationOptions->{
    "InlineCompiledFunctions" -> True,
    "InlineExternalDefinitions" -> True
}];

The options influence the compilation of “Compile” as expected, however a different error message started to appear as I went on.

Suddenly when I tried using the regular “Plot”-function in a simple example of:

Plot[x,{x,0,1}]

the following error messages appeared:

  • Plot::colvl: The value {InlineCompiledFunctions->True,InlineExternalDefinitions->True} of the option CompileOptimizations is not 0, 1, 2, All, or None.

  • None::colvl: The value {InlineCompiledFunctions->True,InlineExternalDefinitions->True} of the option CompileOptimizations is not 0, 1, 2, All, or None.

How does this influence each other, and can I fix the error message without having to manually set the options in every Compile function?