View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003763VTK(No Category)public2006-09-12 11:262011-01-13 17:00
ReporterSean McBride 
Assigned ToMathieu Malaterre 
PriorityurgentSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003763: dashboard: compilation failure with Carbon & Java
DescriptionMy nightly build is failing:

http://www.vtk.org/Testing/Sites/RogueResearchi386/MacOSX10.4.7-carbon-gcc4.0.1-univ/20060912-0300-Nightly/BuildError.html [^]

/.../VTK/Rendering/vtkVisibleCellSelector.cxx:424: error: expected unqualified-id before '++' token
/

Because there is a variable named 'id'. 'id' is a reserved word in Objective-C and so cannot be used as a variable name.

I am somewhat confused though as to why this C++ file is being compiled as Objective-C++. I think it must be because Java is enabled (it isn't for my other builds).

Anyway, there is only one compilation error, not 1000, so simply renaming the variable should fix it.
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0004896)
Sean McBride (developer)
2006-09-12 14:26

Sorry, there are actually 2 errors. One on line 576 also, same thing.
(0004939)
Mathieu Malaterre (developer)
2006-09-16 11:39

Dashboard should be fixed now. Please reopn if not.

$ cvs ci -m"BUG: Fix Bug 0003763 - dashboard: compilation failure with Carbon & Java. Some style fix" Rendering
/cvsroot/VTK/VTK/Rendering/vtkVisibleCellSelector.cxx,v <-- vtkVisibleCellSelector.cxx
new revision: 1.10; previous revision: 1.9
/cvsroot/VTK/VTK/Rendering/vtkVisibleCellSelector.h,v <-- vtkVisibleCellSelector.h
new revision: 1.4; previous revision: 1.3

 Issue History
Date Modified Username Field Change
2011-01-13 17:00 Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00 Source_changeset_attached => VTK master 020ef709
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team