﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
12	Build error with CERN ROOT 5.34/21	smueller	somebody	"When building Mars using the latest and recommended (November 2014) CERN ROOT version 5.34/21 on Ubuntu 14.04 64bit, there are build errors concerning {{{mbase/MQuarternion.h}}} and {{{msim/MPhotonData.h}}}. In both these header files the sqrt() is 'redefined' from 'sqrt' to 'sqrt ::sqrt'.

In the header files it looks like:
{{{
#ifndef ROOT_TQuaternion
#include <math.h>
#define sqrt ::sqrt
#include <TQuaternion.h>
#undef sqrt
#endif
}}}

The build error looks like:
{{{
In file included from MPhotonData.cc:43:0:
/usr/include/c++/4.8/bits/random.h: In member function ‘std::student_t_distribution<_RealType>::result_type std::student_t_distribution<_RealType>::operator()(_UniformRandomNumberGenerator&)’:
MPhotonData.h:20:14: error: expected unqualified-id before ‘::’ token
 #define sqrt ::sqrt
              ^
}}} "	defect	new	major		component1				
