I have this error with g++ version 3.4.6
yms.cc:1317: error: multiple declarations `NullWiException' and `e'
And it points to this line:
} catch (NullWiException e) {
I fixed it by changing it to a reference:
} catch (NullWiException &e) {
yms.cc:1317: error: multiple declarations `NullWiException' and `e'
And it points to this line:
} catch (NullWiException e) {
I fixed it by changing it to a reference:
} catch (NullWiException &e) {
No comments:
Post a Comment