This is a discussion on MC++/portability within the C++ Programming forums, part of the General Programming Boards category; Originally Posted by Elysia Hoo-my. Doesn't look like it likes that, huh? You're going to have to remove the const ...
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
No, the setNext musn't take a pointer to const (const T*), because you can't demote to non-const w/o a cast (a bad cast).
You can take a const pointer (T* const), sure, but it doesn't really help.
For information on how to enable C++11 on your compiler, look here.