Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warnings for cnv12 #810

Open
edwardhartnett opened this issue Jan 22, 2025 · 0 comments
Open

warnings for cnv12 #810

edwardhartnett opened this issue Jan 22, 2025 · 0 comments
Labels
warning Heed your warnings!

Comments

@edwardhartnett
Copy link
Contributor

[ 19%] Building Fortran object utils/CMakeFiles/cnvgrib.dir/cnv12.F90.o
/home/ed/NCEPLIBS-g2/utils/cnv12.F90:788:59:

  788 | subroutine pds2pdt(kpds,ipdsnum,ipdstmpl,numcoord,coordlist, &
      |                                                           1
Warning: Dummy argument ‘coordlist’ at (1) was declared INTENT(OUT) but was not set [-Wunused-dummy-argument]
/home/ed/NCEPLIBS-g2/utils/cnv12.F90:1276:39:

 1276 |     ipdsnum,ipdstmpl,numcoord,coordlist, &
      |                                       1
Warning: Dummy argument ‘coordlist’ at (1) was declared INTENT(OUT) but was not set [-Wunused-dummy-argument]
/home/ed/NCEPLIBS-g2/utils/cnv12.F90:1275:58:

 1275 | subroutine pds2pdtens(kpds,kens,kprob,xprob,kclust,kmember, &
      |                                                          1
Warning: Unused dummy argument ‘kmember’ at (1) [-Wunused-dummy-argument]
/home/ed/NCEPLIBS-g2/utils/cnv12.F90:65:29:

   65 |   integer :: ideflist(MAXPTS), idefnum
      |                             1
Warning: Array ‘ideflist’ at (1) is larger than limit set by ‘-fmax-stack-var-size=’, moved from stack to static storage. This makes the procedure unsafe when called recursively, or concurrently from multiple threads. Consider increasing the ‘-fmax-stack-var-size=’ limit (or use ‘-frecursive’, which implies unlimited ‘-fmax-stack-var-size’) - or change the code to use an ALLOCATABLE array. If the variable is never accessed concurrently, this warning can be ignored, and the variable could also be declared with the SAVE attribute. [-Wsurprising]
[ 19%] Building Fortran object utils/CMakeFiles/cnvgrib.dir/cnv22.F90.o
@edwardhartnett edwardhartnett added the warning Heed your warnings! label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
warning Heed your warnings!
Projects
Status: No status
Development

No branches or pull requests

1 participant