Compilation error for 5.34/00 on OS X 10.7.4

Dear RootTalk,

When trying to compile ROOT 5.34/00 after downloading it via svn I get the following error message:

Any ideas on what the problem could be?

I am running 10.7.4 with clang --version:
Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix

and have XQuartz 2.7.2.

Sincerely,
Bertrand

Seconded.

I see the exact same error message on the same kind of system but with clang version 3.0.

A solution would be appreciated.

Cheers,
Simon

I got it.

You will need clang 3.1.
To get it, upgrade your Xcode to the latest version 4.3.2. Within it go to preferences->downloads and update your command line tools.
Clang version 3.1 accepts the latest grammar and also the -std=c++11 flag. With this update root version 5.34 as well as the trunk compile quite nicely.

Cheers,
Simon

Hi Simon,

Thanks for the post, darn I have been so busy that I haven’t been keeping up with the Xcode updates.

Thanks,
Bertrand