MantisBT - JANA
View Issue Details
0000358JANABugpublic2013-06-18 14:582013-08-27 22:14
davidl 
davidl 
lowminoralways
resolvedfixed 
0000358: Use of typeof not supported when -std=c++11 specified
When compiling with gcc 4.8.0 and the -std=C++11 flag is present, JCalibration.h fails to build due to the use of "typeof". This is apparently a GCC construct and not part of the C++ standard. The webpage linked below suggests using __typeof__ instead and this does seem to work. It's not clear if this is a permanent solution though.

http://gcc.gnu.org/onlinedocs/gcc/Typeof.html [^]
No tags attached.
Issue History
2013-06-18 14:58davidlNew Issue
2013-08-27 22:14davidlNote Added: 0000570
2013-08-27 22:14davidlStatusnew => resolved
2013-08-27 22:14davidlResolutionopen => fixed
2013-08-27 22:14davidlAssigned To => davidl

Notes
(0000570)
davidl   
2013-08-27 22:14   
Changed typeof to __typeof__