visual c++ - Unforgiving GCC C++ compiler -


ms vs x86 compiler has no problem following definitions, gcc (arm) complains. gcc dumb or msvs_x86 clever?

bool checkpointinside(const ciwvec2& globalpoint) {     return checkpointin(globalpoint, ciwvec2()); }; /// error: no matching function call 'fair::sprite::checkpointin(const ciwvec2&, ciwvec2)'  bool checkpointin(const ciwvec2& globalpoint, ciwvec2& localpoint) {     return false; };  

according c++ standard, cannot bind rvalue non-const reference. microsoft compiler has evil extension allows this, however. g++ correct not accept program.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -