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 copygb2 #809

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

warnings for copygb2 #809

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

Comments

@edwardhartnett
Copy link
Contributor

edwardhartnett commented Jan 22, 2025

[ 19%] Building Fortran object utils/CMakeFiles/copygb2.dir/copygb2.F90.o
/home/ed/NCEPLIBS-g2/utils/copygb2.F90:824:14:

  824 |        IDS,IBS,NBS, &
      |              1
Warning: Unused dummy argument ‘ibs’ at (1) [-Wunused-dummy-argument]
/home/ed/NCEPLIBS-g2/utils/copygb2.F90:824:10:

  824 |        IDS,IBS,NBS, &
      |          1
Warning: Unused dummy argument ‘ids’ at (1) [-Wunused-dummy-argument]
/home/ed/NCEPLIBS-g2/utils/copygb2.F90:820:29:

  820 |   SUBROUTINE CPGB1(LG1,LX1,M1, &
      |                             1
Warning: Unused dummy argument ‘m1’ at (1) [-Wunused-dummy-argument]
/home/ed/NCEPLIBS-g2/utils/copygb2.F90:826:17:

  826 |        LGM,LXM,MM, &
      |                 1
Warning: Unused dummy argument ‘mm’ at (1) [-Wunused-dummy-argument]
/home/ed/NCEPLIBS-g2/utils/copygb2.F90:824:18:

  824 |        IDS,IBS,NBS, &
      |                  1
Warning: Unused dummy argument ‘nbs’ at (1) [-Wunused-dummy-argument]
/home/ed/NCEPLIBS-g2/utils/copygb2.F90:591:25:

  591 |     CHARACTER CBUFB(MBUF)
      |                         1
Warning: Array ‘cbufb’ 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]
/home/ed/NCEPLIBS-g2/utils/copygb2.F90:586:41:

  586 |        JPDSB,JB,JBK,LAB,AB,LAM,AM,LXX,LWG, &
      |                                         1
Warning: Unused dummy argument ‘lwg’ at (1) [-Wunused-dummy-argument]
[ 19%] Linking Fortran executable copygb2

@edwardhartnett edwardhartnett added the warning Heed your warnings! label Jan 22, 2025
@edwardhartnett edwardhartnett self-assigned this 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