sneumann / Rdisop

This is the git repository matching the Bioconductor package Rdisop: Decomposition of Isotopic Patterns
4 stars 7 forks source link

Warnings from c++ #14

Open sneumann opened 5 years ago

sneumann commented 5 years ago

Some C++ warnings thrown because the code was written a long time ago, and C++ has progressed:

* checking whether package ‘Rdisop’ can be installed ... WARNING
Found the following significant warnings:
  ./imslib/src/ims/base/parser/alphabetparser.h:37:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/base/parser/alphabetparser.h:58:98: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/alphabet.h:113:10: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/alphabet.h:133:10: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/alphabet.h:220:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/alphabet.h:234:4: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/base/parser/abstractmoleculesequenceparser.h:23:7: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/composedelement.h:95:4: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/composedelement.h:205:4: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  disop.cpp:825:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  disop.cpp:827:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  disop.cpp:829:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  disop.cpp:831:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  disop.cpp:832:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  disop.cpp:833:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  ./imslib/src/ims/base/parser/moleculesequenceparser.h:17:10: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/base/parser/moleculesequenceparser.h:20:10: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/base/parser/moleculesequenceparser.h:27:10: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/base/parser/standardmoleculesequenceparser.h:20:10: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/base/parser/standardmoleculesequenceparser.h:23:10: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/base/parser/standardmoleculesequenceparser.h:30:10: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/composedelement.cpp:24:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/composedelement.cpp:117:4: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/alphabet.cpp:26:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/alphabet.cpp:39:12: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/alphabet.cpp:84:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/alphabet.cpp:90:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/distributedalphabet.h:103:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/distributedalphabet.h:110:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/distributedalphabet.cpp:57:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/distributedalphabet.cpp:68:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/base/parser/massesparser.h:24:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/base/parser/massesparser.h:45:76: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/base/parser/moleculesequenceparser.cpp:15:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/base/parser/moleculesequenceparser.cpp:20:12: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/base/parser/moleculesequenceparser.cpp:58:4: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/base/parser/standardmoleculesequenceparser.cpp:15:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/base/parser/standardmoleculesequenceparser.cpp:20:12: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/base/parser/standardmoleculesequenceparser.cpp:58:4: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/base/parser/keggligandcompoundsparser.h:17:10: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/base/parser/keggligandcompoundsparser.h:20:10: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/base/parser/keggligandcompoundsparser.cpp:15:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/base/parser/keggligandcompoundsparser.cpp:20:12: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/base/parser/moleculeionchargemodificationparser.h:39:70: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/base/parser/moleculeionchargemodificationparser.h:48:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/base/parser/moleculeionchargemodificationparser.cpp:14:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/base/parser/moleculeionchargemodificationparser.cpp:29:80: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/calib/matchmatrix.h:53:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/calib/matchmatrix.h:55:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/calib/matchmatrix.cpp:21:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/calib/matchmatrix.cpp:47:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  ./imslib/src/ims/characteralphabet.h:18:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  imslib/src/ims/characteralphabet.cpp:21:72: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
See ‘/home/biocbuild/bbs-3.9-bioc/meat/Rdisop.Rcheck/00install.out’ for details.