Open bellenot opened 7 months ago
I thought we got rid of the implicit using namespace std?
I thought we got rid of the implicit using namespace std?
I don't know, but that's not good enough anyway (Cling fails too, but with another error) And:
root [1] cout << "hello" << endl;
hello
root [2]
I thought we got rid of the implicit using namespace std?
See https://github.com/root-project/root/blob/master/core/metacling/src/TCling.cxx#L1335-L1336
Yes the PR that removes it is still in Draft mode https://github.com/root-project/root/pull/11027 and needs help.
As a suggestion, if we want to deprecate 'using namespace std' in the long term, we could follow what was being proposed here with 'auto': https://github.com/root-project/root/pull/14645/
Check duplicate issues.
Description
As described on the forum trying to '#include` in ROOT create a lot of errors:
To illustrate this, compiling this code:
is enough to generate the errors:
And when removing the
using namespace std;
line, there is no errorReproducer
On Windows:
ROOT version
Any
Installation method
build from source
Operating system
Windows
Additional context
No response