MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0012693 | VTK | (No Category) | public | 2011-11-01 04:53 | 2014-01-27 07:32 |
| Reporter | Andreas Buykx | ||||
| Assigned To | David Partyka | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | 5.8.0 | ||||
| Target Version | 5.8.1 | Fixed in Version | |||
| Project | TBD | ||||
| Type | incorrect functionality | ||||
| Summary | 0012693: vtkMPASReader.cxx defines global variable PI | ||||
| Description | vtk-5.8.0-source/IO/vtkMPASReader.cxx, line 104 defines a global variable PI. double PI = 3.141592; This global variable (of very limited precision) can easily clash with other definitions of PI, as in our case with a global PI in OpenCascade. This can easily lead to very hard to detect bugs: we spent roughly 5 man days until we found this ... It looks like the variable declaration can safely be changed into a static declaration, hiding the variable from the global namespace. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-11-01 04:53 | Andreas Buykx | New Issue | |||
| 2011-11-01 08:48 | David Partyka | Assigned To | => David Partyka | ||
| 2011-11-01 08:48 | David Partyka | Status | backlog => tabled | ||
| 2011-11-01 08:49 | David Partyka | Target Version | => 5.8.1 | ||
| 2011-11-04 15:53 | Sean McBride | Note Added: 0027660 | |||
| 2011-11-08 15:08 | Sean McBride | Note Added: 0027671 | |||
| 2011-11-08 16:00 | Sean McBride | Source_changeset_attached | => VTK master 70fa8325 | ||
| 2011-11-08 16:00 | Sean McBride | Source_changeset_attached | => VTK master f3a01308 | ||
| 2011-11-11 16:00 | Utkarsh Ayachit | Source_changeset_attached | => VTK master 1802e01c | ||
| 2013-07-22 20:03 | Dave DeMarle | Status | tabled => backlog | ||
| 2013-07-22 20:03 | Dave DeMarle | Note Added: 0031264 | |||
| 2013-07-22 20:33 | Dave DeMarle | Status | backlog => expired | ||
| 2013-07-22 20:33 | Dave DeMarle | Note Added: 0031279 | |||
| 2014-01-27 07:32 | Andreas Buykx | Note Added: 0032222 | |||
| 2014-01-27 07:32 | Andreas Buykx | Status | expired => closed | ||
| 2014-01-27 07:32 | Andreas Buykx | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||