MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000358JANABugpublic2013-06-18 14:582013-08-27 22:14
Reporterdavidl 
Assigned Todavidl 
PrioritylowSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Summary0000358: Use of typeof not supported when -std=c++11 specified
DescriptionWhen 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 [^]
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000570)
davidl (administrator)
2013-08-27 22:14

Changed typeof to __typeof__

- Issue History
Date Modified Username Field Change
2013-06-18 14:58 davidl New Issue
2013-08-27 22:14 davidl Note Added: 0000570
2013-08-27 22:14 davidl Status new => resolved
2013-08-27 22:14 davidl Resolution open => fixed
2013-08-27 22:14 davidl Assigned To => davidl


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker