View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0016084 | VTK | (No Category) | public | 2016-04-20 18:29 | 2016-07-06 14:24 | ||||
Reporter | Nico Schlömer | ||||||||
Assigned To | Cory Quammen | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | 7.1.0 | |||||||
Summary | 0016084: compile error: vtkCubeAxesActor2D.h:49:29: error: expected identifier before numeric constant | ||||||||
Description | When compiling VTK, I'm getting the error ``` /«PKGBUILDDIR»/Rendering/Annotation/vtkCubeAxesActor2D.h:49:29: error: expected identifier before numeric constant #define VTK_FLY_OUTER_EDGES 0 ^ ``` This is on the latest Ubuntu (releasing tomorrow) with GCC 5.3.1. Full logs are at [1]. Any ideas what might be going wrong? [1] https://launchpadlibrarian.net/254754517/buildlog_ubuntu-xenial-amd64.vtk6_7.1.0~20160420232037-xenial1_BUILDING.txt.gz [^] | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0035909) Nico Schlömer (reporter) 2016-04-21 03:33 |
The bug appears to stem from commit [1]. There, some `#define`s are (thankfully) removed and replaced by enums. However, the `#define`s in vtkCubeAxesActor2D.h seem to have been forgotten, specifically `VTK_FLY_OUTER_EDGES` which now conflicts with the enum. The error one is getting is ``` error: expected identifier before numeric constant ``` for the expression `VTK_FLY_OUTER_EDGES = 0`. Makes sense. [1] https://github.com/Kitware/VTK/commit/18af3e8b00e97ef55793ee9f55428d2cfae4c13e [^] |
(0035910) Nico Schlömer (reporter) 2016-04-21 07:07 |
I've added a PR for the issue. https://gitlab.kitware.com/vtk/vtk/merge_requests/1443 [^] |
(0036218) Cory Quammen (developer) 2016-07-06 14:24 |
Merge request granted. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2016-04-20 18:29 | Nico Schlömer | New Issue | |
2016-04-21 03:33 | Nico Schlömer | Note Added: 0035909 | |
2016-04-21 07:07 | Nico Schlömer | Note Added: 0035910 | |
2016-07-06 14:24 | Cory Quammen | Note Added: 0036218 | |
2016-07-06 14:24 | Cory Quammen | Status | backlog => closed |
2016-07-06 14:24 | Cory Quammen | Assigned To | => Cory Quammen |
2016-07-06 14:24 | Cory Quammen | Resolution | open => fixed |
2016-07-06 14:24 | Cory Quammen | Fixed in Version | => 7.1.0 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |