On 10/19/22, 9:29 AM, "Robert Hairgrove" <evorgri...@hispeed.ch.INVALID> wrote:
> However, it is not the default compile mode until GCC 6.1, so it would > have to be enabled with the `-std=c++11` command-line option. That is not what is observed. I built it clean on Debian, without any override of that flag. So there's something else going on for a particular build, and g++ claims it uses a baseline that's past 2011. It may not be 100% standard, but it's enough to get nullptr to work. > Many projects, Qt for example, replaced all pointer 0's with `nullptr` > sometime between 5.12 and 5.15, so perhaps it wouldn't be such a > bad thing just to leave `nullptr` in there? There are insufficient resources to do things like that and risk breakage. It needs to build regardless so canaries are not something this project can afford. If it was a live code base, I probably would agree. > If there ever is another major > release, I think this should be used instead of `0` (or `NULL`?? There will never be another major release unless something substantially changes. Or a minor. -- Scott --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org