Is it right that rootcint can’t handle filenames that start with a digit?
I’ve tried to find some information about that in the documentation and here in the forums, but found nothing. I do however get errors if the dictionary name starts with a digit (“expected unqualified-id before numeric constant”).
It’s no problem to change the name of the file, I’m just curious whether this is true?
[quote=“vaubee”]Is it right that rootcint can’t handle filenames that start
with a digit?[/quote]
Did you actually try this out? Here are two hints for you:
// a legal ROOT macro named 0.C
{
cout << "I am 0.C\n";
}
// an illegal piece of C++ code
int main() {
int 2hundred = 200;
}
Please note, I’m talking about filenames starting with a digit, not variables or other identifiers.
It is perfectly okay in C++ to have a file 0test.cc and compile it (as far as I know C++ doesn’t have any limitations on the filename, that’s all handled by the filesystem).
So what I had, was a command
The file 0testDictionary.cc was however not compilable, due to the fact that rootcint seems to use the filename in places where it shouldn’t start with a digit?