-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
It still builds successfully, and even tests pass fine. But maybe these could be addressed?
/opt/local/bin/g++-mp-12 -std=gnu++17 -I"/opt/local/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/opt/local/Library/Frameworks/R.framework/Versions/4.3/Resources/library/Rcpp/include' -isystem/opt/local/include/LegacySupport -I/opt/local/include -fPIC -pipe -Os -arch ppc -c RcppExports.cpp -o RcppExports.o
/opt/local/bin/g++-mp-12 -std=gnu++17 -I"/opt/local/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/opt/local/Library/Frameworks/R.framework/Versions/4.3/Resources/library/Rcpp/include' -isystem/opt/local/include/LegacySupport -I/opt/local/include -fPIC -pipe -Os -arch ppc -c main.cpp -o main.o
In file included from main.cpp:2:
../inst/include/jagger.cc: In member function 'void jagger::tagger::read_model(const std::string&)':
../inst/include/jagger.cc:106:45: warning: left shift count >= width of type [-Wshift-count-overflow]
106 | fs2pid.insert (std::make_pair ((1ul << 32) | 2, fs2pid.size ()));
| ~~~~^~~~~
../inst/include/jagger.cc:107:30: warning: left shift count >= width of type [-Wshift-count-overflow]
107 | p2f_.push_back ((1ul << 32) | 2);
| ~~~~^~~~~
../inst/include/jagger.cc:143:50: warning: left shift count >= width of type [-Wshift-count-overflow]
143 | = fs2pid.insert (std::make_pair ((fi << 32) | fi_, fs2pid.size ()));
| ~~~^~~~~
../inst/include/jagger.cc:144:47: warning: left shift count >= width of type [-Wshift-count-overflow]
144 | if (itb.second) p2f_.push_back ((fi << 32) | fi_);
| ~~~^~~~~
../inst/include/jagger.cc:168:51: warning: left shift count >= width of type [-Wshift-count-overflow]
168 | p2f_[i] = (offsets[(p2f_[i] >> 32) - 1] << 34) |
/opt/local/bin/g++-mp-12 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/opt/local/Library/Frameworks/R.framework/Resources/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -L/opt/local/lib -lMacportsLegacySupport -arch ppc -o RcppJagger.so RcppExports.o main.o -F/opt/local/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /opt/local/var/macports/build/_opt_PPCRosettaPorts_R_R-RcppJagger/R-RcppJagger/work/RcppJagger/RcppJagger.Rcheck/00LOCK-RcppJagger/00new/RcppJagger/libs
Metadata
Metadata
Assignees
Labels
No labels