I'm not sure Watcom is C++98 compliant, let alone C++11 or newer
(and I'm implicitly using C++11 here when I say "C++", given that it effectively defines 'modern' C++).
(and I'm implicitly using C++11 here when I say "C++", given that it effectively defines 'modern' C++).
Adding some features of C++11 isn't close to building a C++ compiler capable of 11, 14, let alone 17, 20, 23 or 26.
If you can rip out a compliant parser, it might even be better to start over on a new compiler frontend if your current compiler frontend is targeting at pre-11 level.