[Bug libstdc++/78483] Error: reference to 'on_exit' is ambiguous
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78483 --- Comment #5 from Kris --- Fair do's. But then, IMHO, 'on_exit' shouldn't pollute the global namespace either. Hence, it should be prefixed with '__'?
[Bug libstdc++/78483] New: Error: reference to 'on_exit' is ambiguous
Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: krzysztof at jusiak dot net Target Milestone: --- It seems that including cstdlib is not adding std namespace, at least for on_exit function, which causes ambiguity with user defined type with the same name