Project

General

Profile

Cleanup #1836

Cleanup warnings in charmdebug-python

Added by Sam White 7 months ago. Updated 7 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
03/26/2018
Due date:
% Done:

0%


Description

Compiling multicore-linux-x86_64 with ICC on Stampede2 gives the following warnings, some in the generated code:

In file included from PythonCCS.C:918:0:
PythonCCS.def.h: In static member function ‘static void CkIndex_PythonCCS::_call_PythonCCS_CkArgMsg(void*, void*)’:
PythonCCS.def.h:71:14: warning: unused variable ‘impl_obj’ [-Wunused-variable]
   PythonCCS* impl_obj = static_cast<PythonCCS *>(impl_obj_void);
              ^
../bin/charmc   -I. -o ../lib/libmemory-verbose.a -DCMK_MEMORY_BUILD_VERBOSE -touch-on-failure libmemory-verbose.c
../bin/charmc   -I. -o ../lib/libmemory-paranoid.a -DCMK_MEMORY_BUILD_PARANOID -touch-on-failure libmemory-paranoid.c
ar: creating ../lib/libtrace-converse.a
../bin/charmc   -I. -o ../lib/libmemory-leak.a -DCMK_MEMORY_BUILD_LEAK -touch-on-failure libmemory-leak.c
charmdebug-python.C: In member function ‘virtual int CpdPythonGroup::nextIteratorUpdate(PyObject*&, PyObject*, void*)’:
charmdebug-python.C:97:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (nextElement == arriter.elems.size()) {
                     ^
In file included from charmdebug-python.C:232:0:
charmdebug_python.def.h: In static member function ‘static void CkIndex_CpdPython::_call_CpdPython_CkArgMsg(void*, void*)’:
charmdebug_python.def.h:176:14: warning: unused variable ‘impl_obj’ [-Wunused-variable]
   CpdPython* impl_obj = static_cast<CpdPython *>(impl_obj_void);
              ^
In file included from charmdebug-python.C:232:0:
charmdebug_python.def.h: In static member function ‘static void CkIndex_CpdPythonGroup::_call_CpdPythonGroup_void(void*, void*)’:
charmdebug_python.def.h:411:19: warning: unused variable ‘impl_obj’ [-Wunused-variable]
   CpdPythonGroup* impl_obj = static_cast<CpdPythonGroup *>(impl_obj_void);
                   ^

History

#1 Updated by Sam White 7 months ago

  • Priority changed from Normal to Low

Also available in: Atom PDF