That’s not the first time we meet it (see some examples below).
I can only repeat what had already been asked in one of these old “problem reports” … could you, please, prepare a list of “known” global identifier clashes.
I searched abound on JIRA and RootTalk about this issue, and mostly people talk about how the std:: issues will be fixed in ROOT6. Well we have ROOT6 now and this still happens:
root [0] int next = 5;
ROOT_prompt_0:1:5: error: redefinition of 'next' as different kind of symbol
int next = 5;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:509:1: note:
previous definition is here
next(_ForwardIter __x,
^
The std:: nam…
This seems to be the case in ROOT 6.06.02 and the latest 6.06 branch on git, and “master” from git on OS X. It does not seem to affect Linux or ROOT 5.x
When creating a pointer called “pi” and assigning it with new, the pointed is incorrectly assigned.
------------------------------------------------------------------------
| Welcome to ROOT 6.06/05 http://root.cern.ch |
| (c) 1995-2016, The ROOT Team |
| Built for m…
In the process of grabbing some coordinates I discovered this little bug in ROOT 6.08/06 and 6.09/02 on MAC OSX:
root [0] double y1
ROOT_prompt_0:1:8: error: redefinition of 'y1' as different kind of symbol
double y1
^
/usr/include/math.h:691:15: note: previous definition is here
extern double y1(double) __OSX_AVAILABLE_STARTING(__MAC_10_0,__IPHONE_3_2);
^
Is this a problem with ROOT, my install or something different all together?
Hi Everyone,
The declaration of a TRandom instance as “rand” causes redefinition error when running interactively:
TCanvas *c1 = new TCanvas("c1","Candle Decay",800,600);
c1->Divide(2,1);
TRandom *rand = new TRandom();
This also causes the notebook (ROOTBook) to fail in the examples shown here
Best,
A.