Compile issues

I think my fix is not working because isA takes it’s argument by reference, not const reference. MSVC has less strict (and I believe non-standard) policy about taking temporary values as non-const references. Does it fix the problem (change bool isA(SecType & opt) to bool isA(const SecType & opt) and if it’s not enough apply my previous fix too)?

That was it. Thanks.
Those compile errors were useless :cry:

Hi, I keep getting error: taking address of temporary -fpermissive], in CBattleInterface.cpp and Client.cpp. How do I fix it?

These bugs have always been there, but gcc 4.6 finally flags them as errors.
I’ve committed a patch to clean them all.