* installing *source* package ‘PRIMME’ ...
** package ‘PRIMME’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Matrix/include' -I/opt/R/arm64/include   -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Matrix/include' -I/opt/R/arm64/include   -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX -fPIC  -falign-functions=64 -Wall -g -O2   -c primmeR.cpp -o primmeR.o
primmeR.cpp:106:22: warning: suggest braces around initialization of subobject [-Wmissing-braces]
   Rcomplex alpha = {1.0, 0.0}, beta = {0.0, 0.0};
                     ^~~~~~~~
                     {       }
primmeR.cpp:106:41: warning: suggest braces around initialization of subobject [-Wmissing-braces]
   Rcomplex alpha = {1.0, 0.0}, beta = {0.0, 0.0};
                                        ^~~~~~~~
                                        {       }
primmeR.cpp:129:22: warning: suggest braces around initialization of subobject [-Wmissing-braces]
   Rcomplex alpha = {1.0, 0.0}, beta = {0.0, 0.0};
                     ^~~~~~~~
                     {       }
primmeR.cpp:129:41: warning: suggest braces around initialization of subobject [-Wmissing-braces]
   Rcomplex alpha = {1.0, 0.0}, beta = {0.0, 0.0};
                                        ^~~~~~~~
                                        {       }
4 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c eigs/auxiliary_eigs.cpp -o eigs/auxiliary_eigs.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c eigs/auxiliary_eigs_normal.cpp -o eigs/auxiliary_eigs_normal.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c eigs/convergence.cpp -o eigs/convergence.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c eigs/correction.cpp -o eigs/correction.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c eigs/factorize.cpp -o eigs/factorize.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c eigs/init.cpp -o eigs/init.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c eigs/inner_solve.cpp -o eigs/inner_solve.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c eigs/main_iter.cpp -o eigs/main_iter.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c eigs/ortho.cpp -o eigs/ortho.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c eigs/primme_c.cpp -o eigs/primme_c.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c eigs/primme_f77.cpp -o eigs/primme_f77.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c eigs/primme_interface.cpp -o eigs/primme_interface.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c eigs/restart.cpp -o eigs/restart.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c eigs/solve_projection.cpp -o eigs/solve_projection.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c eigs/update_projection.cpp -o eigs/update_projection.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c eigs/update_W.cpp -o eigs/update_W.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c linalg/auxiliary.cpp -o linalg/auxiliary.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c linalg/blaslapack.cpp -o linalg/blaslapack.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c linalg/magma_wrapper.cpp -o linalg/magma_wrapper.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c linalg/memman.cpp -o linalg/memman.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c linalg/wtime.cpp -o linalg/wtime.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c svds/primme_svds_c.cpp -o svds/primme_svds_c.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c svds/primme_svds_f77.cpp -o svds/primme_svds_f77.o
clang++ -arch arm64 -std=gnu++17 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -falign-functions=64 -Wall -g -O2  -fPIC -I../inst/include  -DPRIMME_INT_SIZE=0 -DF77UNDERSCORE -DUSE_XHEEV -DUSE_ZGESV -DUSE_XHEGV -DPRIMME_INT_SIZE=0 -DPRIMME_WITHOUT_FLOAT -DPRIMME_BLAS_RCOMPLEX   -I../../inst/include/c_interface -Iinclude -c svds/primme_svds_interface.cpp -o svds/primme_svds_interface.o
ar rv libprimme.a eigs/auxiliary_eigs.o eigs/auxiliary_eigs_normal.o eigs/convergence.o eigs/correction.o eigs/factorize.o eigs/init.o eigs/inner_solve.o eigs/main_iter.o eigs/ortho.o eigs/primme_c.o eigs/primme_f77.o eigs/primme_interface.o eigs/restart.o eigs/solve_projection.o eigs/update_projection.o eigs/update_W.o linalg/auxiliary.o linalg/blaslapack.o linalg/magma_wrapper.o linalg/memman.o linalg/wtime.o svds/primme_svds_c.o svds/primme_svds_f77.o svds/primme_svds_interface.o;\
	ranlib libprimme.a
ar: creating archive libprimme.a
a - eigs/auxiliary_eigs.o
a - eigs/auxiliary_eigs_normal.o
a - eigs/convergence.o
a - eigs/correction.o
a - eigs/factorize.o
a - eigs/init.o
a - eigs/inner_solve.o
a - eigs/main_iter.o
a - eigs/ortho.o
a - eigs/primme_c.o
a - eigs/primme_f77.o
a - eigs/primme_interface.o
a - eigs/restart.o
a - eigs/solve_projection.o
a - eigs/update_projection.o
a - eigs/update_W.o
a - linalg/auxiliary.o
a - linalg/blaslapack.o
a - linalg/magma_wrapper.o
a - linalg/memman.o
a - linalg/wtime.o
a - svds/primme_svds_c.o
a - svds/primme_svds_f77.o
a - svds/primme_svds_interface.o
clang -arch arm64 -falign-functions=64 -Wall -g -O2  -fPIC  -c zhegv.c -o zhegv.o
zhegv.c:2494:16: warning: variable 'value' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
    } else if (lsame_(norm, "F") || lsame_(norm, "E")) {
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
zhegv.c:2538:15: note: uninitialized use occurs here
    ret_val = value;
              ^~~~~
zhegv.c:2494:12: note: remove the 'if' if its condition is always true
    } else if (lsame_(norm, "F") || lsame_(norm, "E")) {
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
zhegv.c:2326:21: note: initialize the variable 'value' to silence this warning
    doublereal value;
                    ^
                     = 0.0
zhegv.c:4157:37: warning: '&&' within '||' [-Wlogical-op-parentheses]
    } else if (*n < 0 || itype == 4 && *n != *m || itype == 5 && *n != *m) {
                      ~~ ~~~~~~~~~~~^~~~~~~~~~~
zhegv.c:4157:37: note: place parentheses around the '&&' expression to silence this warning
    } else if (*n < 0 || itype == 4 && *n != *m || itype == 5 && *n != *m) {
                                    ^
                         (                     )
zhegv.c:4157:63: warning: '&&' within '||' [-Wlogical-op-parentheses]
    } else if (*n < 0 || itype == 4 && *n != *m || itype == 5 && *n != *m) {
                                                ~~ ~~~~~~~~~~~^~~~~~~~~~~
zhegv.c:4157:63: note: place parentheses around the '&&' expression to silence this warning
    } else if (*n < 0 || itype == 4 && *n != *m || itype == 5 && *n != *m) {
                                                              ^
                                                   (                     )
zhegv.c:4169:72: warning: '&&' within '||' [-Wlogical-op-parentheses]
            if (*ku < 0 || *ku > f2cmax(i__1,0) || (itype == 4 || itype == 5) && 
                                                ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
zhegv.c:4169:72: note: place parentheses around the '&&' expression to silence this warning
            if (*ku < 0 || *ku > f2cmax(i__1,0) || (itype == 4 || itype == 5) && 
                                                                              ^
                                                   (
zhegv.c:4172:28: warning: '&&' within '||' [-Wlogical-op-parentheses]
            } else if (itype == 4 && *lda < *kl + 1 || itype == 5 && *lda < *
                       ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ~~
zhegv.c:4172:28: note: place parentheses around the '&&' expression to silence this warning
            } else if (itype == 4 && *lda < *kl + 1 || itype == 5 && *lda < *
                                  ^
                       (                           )
zhegv.c:4172:60: warning: '&&' within '||' [-Wlogical-op-parentheses]
            } else if (itype == 4 && *lda < *kl + 1 || itype == 5 && *lda < *
                                                    ~~ ~~~~~~~~~~~^~~~~~~~~~~
zhegv.c:4172:60: note: place parentheses around the '&&' expression to silence this warning
            } else if (itype == 4 && *lda < *kl + 1 || itype == 5 && *lda < *
                                                                  ^
                                                       (
zhegv.c:4173:28: warning: '&&' within '||' [-Wlogical-op-parentheses]
                    ku + 1 || itype == 6 && *lda < (*kl << 1) + *ku + 1) {
                           ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
zhegv.c:4173:28: note: place parentheses around the '&&' expression to silence this warning
                    ku + 1 || itype == 6 && *lda < (*kl << 1) + *ku + 1) {
                                         ^
                              (                                        )
zhegv.c:6163:39: warning: '&&' within '||' [-Wlogical-op-parentheses]
    } else if (*ldz < 1 || icompz > 0 && *ldz < f2cmax(1,*n)) {
                        ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
zhegv.c:6163:39: note: place parentheses around the '&&' expression to silence this warning
    } else if (*ldz < 1 || icompz > 0 && *ldz < f2cmax(1,*n)) {
                           ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
zhegv.c:8183:16: warning: variable 'anorm' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
    } else if (lsame_(norm, "F") || lsame_(norm, "E")) {
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
zhegv.c:8198:15: note: uninitialized use occurs here
    ret_val = anorm;
              ^~~~~
zhegv.c:8183:12: note: remove the 'if' if its condition is always true
    } else if (lsame_(norm, "F") || lsame_(norm, "E")) {
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
zhegv.c:8084:21: note: initialize the variable 'anorm' to silence this warning
    doublereal anorm;
                    ^
                     = 0.0
zhegv.c:8596:37: warning: '&&' within '||' [-Wlogical-op-parentheses]
    } else if (*n < 0 || itype == 4 && *n != *m || itype == 5 && *n != *m) {
                      ~~ ~~~~~~~~~~~^~~~~~~~~~~
zhegv.c:8596:37: note: place parentheses around the '&&' expression to silence this warning
    } else if (*n < 0 || itype == 4 && *n != *m || itype == 5 && *n != *m) {
                                    ^
                         (                     )
zhegv.c:8596:63: warning: '&&' within '||' [-Wlogical-op-parentheses]
    } else if (*n < 0 || itype == 4 && *n != *m || itype == 5 && *n != *m) {
                                                ~~ ~~~~~~~~~~~^~~~~~~~~~~
zhegv.c:8596:63: note: place parentheses around the '&&' expression to silence this warning
    } else if (*n < 0 || itype == 4 && *n != *m || itype == 5 && *n != *m) {
                                                              ^
                                                   (                     )
zhegv.c:8608:72: warning: '&&' within '||' [-Wlogical-op-parentheses]
            if (*ku < 0 || *ku > f2cmax(i__1,0) || (itype == 4 || itype == 5) && 
                                                ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
zhegv.c:8608:72: note: place parentheses around the '&&' expression to silence this warning
            if (*ku < 0 || *ku > f2cmax(i__1,0) || (itype == 4 || itype == 5) && 
                                                                              ^
                                                   (
zhegv.c:8611:28: warning: '&&' within '||' [-Wlogical-op-parentheses]
            } else if (itype == 4 && *lda < *kl + 1 || itype == 5 && *lda < *
                       ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ~~
zhegv.c:8611:28: note: place parentheses around the '&&' expression to silence this warning
            } else if (itype == 4 && *lda < *kl + 1 || itype == 5 && *lda < *
                                  ^
                       (                           )
zhegv.c:8611:60: warning: '&&' within '||' [-Wlogical-op-parentheses]
            } else if (itype == 4 && *lda < *kl + 1 || itype == 5 && *lda < *
                                                    ~~ ~~~~~~~~~~~^~~~~~~~~~~
zhegv.c:8611:60: note: place parentheses around the '&&' expression to silence this warning
            } else if (itype == 4 && *lda < *kl + 1 || itype == 5 && *lda < *
                                                                  ^
                                                       (
zhegv.c:8612:28: warning: '&&' within '||' [-Wlogical-op-parentheses]
                    ku + 1 || itype == 6 && *lda < (*kl << 1) + *ku + 1) {
                           ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
zhegv.c:8612:28: note: place parentheses around the '&&' expression to silence this warning
                    ku + 1 || itype == 6 && *lda < (*kl << 1) + *ku + 1) {
                                         ^
                              (                                        )
zhegv.c:9162:16: warning: variable 'rmax' set but not used [-Wunused-but-set-variable]
    doublereal rmax;
               ^
zhegv.c:9939:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
        if (ic >= 129 && ic <= 137 || ic >= 145 && ic <= 153 || ic >= 162 && 
            ~~~~~~~~~~^~~~~~~~~~~~ ~~
zhegv.c:9939:16: note: place parentheses around the '&&' expression to silence this warning
        if (ic >= 129 && ic <= 137 || ic >= 145 && ic <= 153 || ic >= 162 && 
                      ^
            (                     )
zhegv.c:9939:42: warning: '&&' within '||' [-Wlogical-op-parentheses]
        if (ic >= 129 && ic <= 137 || ic >= 145 && ic <= 153 || ic >= 162 && 
                                   ~~ ~~~~~~~~~~^~~~~~~~~~~~
zhegv.c:9939:42: note: place parentheses around the '&&' expression to silence this warning
        if (ic >= 129 && ic <= 137 || ic >= 145 && ic <= 153 || ic >= 162 && 
                                                ^
                                      (                     )
zhegv.c:9939:68: warning: '&&' within '||' [-Wlogical-op-parentheses]
        if (ic >= 129 && ic <= 137 || ic >= 145 && ic <= 153 || ic >= 162 && 
                                                             ~~ ~~~~~~~~~~^~
zhegv.c:9939:68: note: place parentheses around the '&&' expression to silence this warning
        if (ic >= 129 && ic <= 137 || ic >= 145 && ic <= 153 || ic >= 162 && 
                                                                          ^
                                                                (
zhegv.c:9944:17: warning: '&&' within '||' [-Wlogical-op-parentheses]
                if (ic >= 129 && ic <= 137 || ic >= 145 && ic <= 153 || ic >= 
                    ~~~~~~~~~~^~~~~~~~~~~~ ~~
zhegv.c:9944:17: note: place parentheses around the '&&' expression to silence this warning
                if (ic >= 129 && ic <= 137 || ic >= 145 && ic <= 153 || ic >= 
                              ^
                    (                     )
zhegv.c:9944:43: warning: '&&' within '||' [-Wlogical-op-parentheses]
                if (ic >= 129 && ic <= 137 || ic >= 145 && ic <= 153 || ic >= 
                                           ~~ ~~~~~~~~~~^~~~~~~~~~~~
zhegv.c:9944:43: note: place parentheses around the '&&' expression to silence this warning
                if (ic >= 129 && ic <= 137 || ic >= 145 && ic <= 153 || ic >= 
                                                        ^
                                              (                     )
zhegv.c:9945:8: warning: '&&' within '||' [-Wlogical-op-parentheses]
                        162 && ic <= 169) {
                        ~~~~^~~~~~~~~~~~
zhegv.c:9945:8: note: place parentheses around the '&&' expression to silence this warning
                        162 && ic <= 169) {
                            ^
                                        )
zhegv.c:10850:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
        if (inta >= 129 && inta <= 137 || inta >= 145 && inta <= 153 || inta 
            ~~~~~~~~~~~~^~~~~~~~~~~~~~ ~~
zhegv.c:10850:18: note: place parentheses around the '&&' expression to silence this warning
        if (inta >= 129 && inta <= 137 || inta >= 145 && inta <= 153 || inta 
                        ^
            (                         )
zhegv.c:10850:48: warning: '&&' within '||' [-Wlogical-op-parentheses]
        if (inta >= 129 && inta <= 137 || inta >= 145 && inta <= 153 || inta 
                                       ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~
zhegv.c:10850:48: note: place parentheses around the '&&' expression to silence this warning
        if (inta >= 129 && inta <= 137 || inta >= 145 && inta <= 153 || inta 
                                                      ^
                                          (                         )
zhegv.c:10851:10: warning: '&&' within '||' [-Wlogical-op-parentheses]
                >= 162 && inta <= 169) {
                ~~~~~~~^~~~~~~~~~~~~~
zhegv.c:10851:10: note: place parentheses around the '&&' expression to silence this warning
                >= 162 && inta <= 169) {
                       ^
                                     )
zhegv.c:10854:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
        if (intb >= 129 && intb <= 137 || intb >= 145 && intb <= 153 || intb 
            ~~~~~~~~~~~~^~~~~~~~~~~~~~ ~~
zhegv.c:10854:18: note: place parentheses around the '&&' expression to silence this warning
        if (intb >= 129 && intb <= 137 || intb >= 145 && intb <= 153 || intb 
                        ^
            (                         )
zhegv.c:10854:48: warning: '&&' within '||' [-Wlogical-op-parentheses]
        if (intb >= 129 && intb <= 137 || intb >= 145 && intb <= 153 || intb 
                                       ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~
zhegv.c:10854:48: note: place parentheses around the '&&' expression to silence this warning
        if (intb >= 129 && intb <= 137 || intb >= 145 && intb <= 153 || intb 
                                                      ^
                                          (                         )
zhegv.c:10855:10: warning: '&&' within '||' [-Wlogical-op-parentheses]
                >= 162 && intb <= 169) {
                ~~~~~~~^~~~~~~~~~~~~~
zhegv.c:10855:10: note: place parentheses around the '&&' expression to silence this warning
                >= 162 && intb <= 169) {
                       ^
                                     )
zhegv.c:219:13: warning: unused variable 'junk' [-Wunused-variable]
static char junk[] = "\n@(#)LIBF77 VERSION 19990503\n";
            ^
zhegv.c:235:14: warning: unused function 'spow_ui' [-Wunused-function]
static float spow_ui(float x, integer n) {
             ^
zhegv.c:259:23: warning: unused function 'cpow_ui' [-Wunused-function]
static _Complex float cpow_ui(_Complex float x, integer n) {
                      ^
zhegv.c:271:24: warning: unused function 'zpow_ui' [-Wunused-function]
static _Complex double zpow_ui(_Complex double x, integer n) {
                       ^
zhegv.c:283:16: warning: unused function 'pow_ii' [-Wunused-function]
static integer pow_ii(integer x, integer n) {
               ^
zhegv.c:300:16: warning: unused function 'dmaxloc_' [-Wunused-function]
static integer dmaxloc_(double *w, integer s, integer e, integer *n)
               ^
zhegv.c:307:16: warning: unused function 'smaxloc_' [-Wunused-function]
static integer smaxloc_(float *w, integer s, integer e, integer *n)
               ^
zhegv.c:314:20: warning: unused function 'cdotc_' [-Wunused-function]
static inline void cdotc_(complex *z, integer *n_, complex *x, integer *incx_, complex *y, integer *incy_) {
                   ^
zhegv.c:342:20: warning: unused function 'cdotu_' [-Wunused-function]
static inline void cdotu_(complex *z, integer *n_, complex *x, integer *incx_, complex *y, integer *incy_) {
                   ^
zhegv.c:356:20: warning: unused function 'zdotu_' [-Wunused-function]
static inline void zdotu_(doublecomplex *z, integer *n_, doublecomplex *x, integer *incx_, doublecomplex *y, integer *incy_) {
                   ^
38 warnings generated.
ar rv libprimmeext.a zhegv.o;\
	ranlib libprimmeext.a
ar: creating archive libprimmeext.a
a - zhegv.o
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o PRIMME.so RcppExports.o primmeR.o primme/libprimme.a -L/Library/Frameworks/R.framework/Resources/lib -lRlapack primme/libprimmeext.a -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: could not create compact unwind for ___emutls_get_address: registers 23 and 24 not saved contiguously in frame
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/PRIMME.Rcheck/00LOCK-PRIMME/00new/PRIMME/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (PRIMME)