I updated the repository (revision 46719) to suppress the error message in this case. Before this revision, the only way to suppress the message is to use ‘cd’.
I have the same problem as elelias, however I don’t know how to use the cd workaround. What are the steps to create first a/b/c and then a/b/d without receiving an erro? Unfortunately I can not update my root, thus the cd workaround seems to be the only possible solution for my problem. I tried
TFile * file = new TFile("afile","RECREATE")
file->mkdir("a/b/c")
file->cd("a")
file->cd("a/b")
file->mkdir("a/b/d")
but had no luck: the error [quote]Error in TFile::mkdir: An object with name a exists already[/quote] remains.