Fixed some more warnings for gcc.
Fixed warning with gcc - possibly need this, but I don't see how.
Fixed warnings in SP for gcc/g++
Fixed warnings in MP for gcc/g++.