IDL Problem Code 45
with alias multiple-comp-opt
Want to disable me? Check out the configuration guide to learn more.
Documentation Best Practice
This problem indicates that there's an opportunity to improve the documentation for your code.
This helps make sure the extension can properly detect types, provide a better user experience, and ensures other users can be successful with code that you write.
Want to automate documentation generation? Learn about comment style and AutoDoc here.
This error occurs when there are more than one compile_opt
statements in a routine or main level program.
Here's an example of this error:
idl
function myfunc
compile_opt idl2
compile_opt hidden
; ^^^^^^^^^^^^^^^^ multiple compile opts
return,1
end
Which can be fixed by reducing to a single statment:
idl
function myfunc
compile_opt idl2, hidden
; ^^^^^^^^^^^^^^^^ OK!
return,1
end