Check duplicate issues.
Description
Dear developers,
names such as y0 or y1 cannot be used in an interactive ROOT session due to them being also used internally /usr/include/x86_64-linux-gnu/bits/mathcalls.h. mathcalls.h is probably included by math.h but I do not think, that this should make these variables unusable.
Best regards.
Reproducer
% root -l
root [0] double y1 = 0;
root [1] y1
ROOT_prompt_1:1:1: error: reference to 'y1' is ambiguous
y1
^
ROOT_prompt_0:1:8: note: candidate found by name lookup is '__cling_N50::y1'
double y1 = 0;
^
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:257:13: note: candidate found by name lookup is 'y1'
__MATHCALL (y1,, (_Mdouble_));
^
ROOT version
ROOT v6.36.06
Built for linuxx8664gcc on Nov 26 2025, 12:43:13
From tags/v6-36-06@v6-36-06
With c++ (Debian 15.2.0-9) 15.2.0
Binary directory: /usr/local/opt/root/bin
Installation method
Build from source
Operating system
Debian Sid
Additional context
No response
Check duplicate issues.
Description
Dear developers,
names such as
y0ory1cannot be used in an interactive ROOT session due to them being also used internally/usr/include/x86_64-linux-gnu/bits/mathcalls.h.mathcalls.his probably included bymath.hbut I do not think, that this should make these variables unusable.Best regards.
Reproducer
ROOT version
Installation method
Build from source
Operating system
Debian Sid
Additional context
No response