Giter VIP home page Giter VIP logo

rcppjagger's People

Contributors

shusei-e avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

rcppjagger's Issues

-Wshift-count-overflow warnings when building on PPC

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

Concatenation

Concatenation of the same tokens will be fixed in v0.0.2.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.