NAG compiler linting support VS Code

I am thinking of adding support for the NAG compiler in VS Code Modern Fortran. I was very pleased in the short time I used it (back when we were trying to make a purely compile-time Eratosthenes sieve), where nagfor was the only scalable solution.

Before starting to implement this I wanted to check if it is at all possible. Does nagfor have a flag similar to gfortran and ifort for only checking for valid syntax i.e. -fsyntax-only? Is -dryrun the flag I am looking for?

1 Like

Try “-otype=none”.

1 Like