switched off gcc warning regarding enum-comparisons

reported when compiling quantity_transfer.hpp.
Florian is aware of this problem