In /usr/bin/atdgen-cppo line 2:
version=1.0.0
^-----^ SC2034: version appears unused. Verify use (or export if used externally).


In /usr/bin/atdgen-cppo line 43:
tmp=$(tempfile -p ml- -s -atdgen-cppo.ml)
      ^------^ SC2186: tempfile is deprecated. Use mktemp instead.


In /usr/bin/atdgen-cppo line 44:
cat > $tmp
      ^--^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
cat > "$tmp"


In /usr/bin/atdgen-cppo line 47:
    rm -f $tmp
          ^--^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    rm -f "$tmp"


In /usr/bin/atdgen-cppo line 57:
      -pos-lnum $(( $CPPO_FIRST_LINE + 1 )) \
                    ^--------------^ SC2004: $/${} is unnecessary on arithmetic variables.


In /usr/bin/atdgen-cppo line 58:
      -$2 < $tmp || fail
       ^-- SC2086: Double quote to prevent globbing and word splitting.
            ^--^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
      -"$2" < "$tmp" || fail


In /usr/bin/atdgen-cppo line 74:
rm -f $tmp
      ^--^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
rm -f "$tmp"

For more information:
  https://www.shellcheck.net/wiki/SC2034 -- version appears unused. Verify us...
  https://www.shellcheck.net/wiki/SC2186 -- tempfile is deprecated. Use mktem...
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...