Passing the -std=c++1 to gcc (Apple clang) to eliminate the warnings...
layer1/PConv.h:246:8: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto it = v.begin(); it != v.end(); ++it) {
^
exposes that many instances of the new warning...
layer0/Parse.h:42:3: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
register char ch;
^~~~~~~~~
Shouldn't all of these usages of register be removed now that the files are .cpp?
http://stackoverflow.com/questions/10675072/is-the-register-keyword-still-used
The attached patch removes the usage of the register storage class for the .h and .cpp files in current pymol svn. Note that the register storage class is ignored by c++ compilers so this is effectively dead code.
removed all "register" specifiers in svn rev 4110