View Issue Details

IDProjectCategoryView StatusLast Update
0004431Slicer4Core: Building (CMake, Superbuild)public2017-09-08 16:54
ReporterjcfrAssigned Tojcfr 
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Product Version 
Target VersionbacklogFixed in Version 
Summary0004431: PythonQt: Fix warning: ISO C++11 does not allow conversion from string literal to 'char *'
Description

From @hjmjohnson : I think a compiler warning can be fixed by adding appropriate const to the temporary variable:

/Users/johnsonhj/src/Slicer-bld/CTK-build/CMakeExternals/Install/include/PythonQt/PythonQtConversion.h:496:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]

Suggested fix: line 496 const PyObject* const items = PyMapping_Items(val);

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-09-08 16:54 jcfr New Issue
2017-09-08 16:54 jcfr Status new => assigned
2017-09-08 16:54 jcfr Assigned To => jcfr