Hi Jens,

I saw a build warning related to following line in gamess uk format:

    if ( ! tokens.size() >= 2 || ! ( from_string<int>(levcfg,
tokens.at(0), std::dec) && from_string<int>(imcon, tokens.at(1),
std::dec) ) )

The problem is that ! tokens.size() is evaluated first and then
compared to >= 2. I think you can replace the whole lot by
tokens.size() < 2

- Noel

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to