** Changed in: nux (Ubuntu)
       Status: New => Fix Released

** Changed in: nux (Ubuntu)
   Importance: Undecided => Medium

** Changed in: nux (Ubuntu)
     Assignee: (unassigned) => Michi Henning (michihenning)

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to nux in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1032313

Title:
  Compiler warnings lp:nux

Status in Nux:
  Fix Released
Status in Nux 3.0 series:
  Fix Released
Status in Nux 4.0 series:
  Fix Released
Status in nux package in Ubuntu:
  Fix Released

Bug description:
  ./FileManager/NFileManagerGNU.cpp: In member function 'virtual 
nux::NSerializer* nux::NFileManagerGNU::CreateFileWriter(const TCHAR*, DWORD, 
nux::LogOutputDevice&)':
  ./FileManager/NFileManagerGNU.cpp:463:53: warning: 'Pos' may be used 
uninitialized in this function [-Wuninitialized]
  ./Logger.cpp:23:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
  ./GpuDevice.cpp: In constructor 'nux::GpuDevice::GpuDevice(unsigned int, 
unsigned int, nux::BitmapFormat, Display*, Window, bool, GLXFBConfig, 
__GLXcontextRec*&, int, int, bool)':
  ./GpuDevice.cpp:310:12: warning: variable 'Glew_Ok' set but not used 
[-Wunused-but-set-variable]
  ./GpuDeviceVertex.cpp: In member function 'int 
nux::GpuDevice::DrawIndexedPrimitive(nux::ObjectPtr<nux::IOpenGLIndexBuffer>, 
nux::ObjectPtr<nux::IOpenGLVertexDeclaration>, nux::PRIMITIVE_TYPE, int)':
  ./GpuDeviceVertex.cpp:158:7: warning: cast to pointer from integer of 
different size [-Wint-to-pointer-cast]
  ./GraphicsDisplayX11.cpp: In member function 'void 
nux::GraphicsDisplay::ProcessXEvent(XEvent, bool)':
  ./GraphicsDisplayX11.cpp:1567:18: warning: 'KeySym XKeycodeToKeysym(Display*, 
KeyCode, int)' is deprecated (declared at /usr/include/X11/Xlib.h:1695) 
[-Wdeprecated-declarations]
  ./GraphicsDisplayX11.cpp:1567:66: warning: 'KeySym XKeycodeToKeysym(Display*, 
KeyCode, int)' is deprecated (declared at /usr/include/X11/Xlib.h:1695) 
[-Wdeprecated-declarations]
  ./GraphicsDisplayX11.cpp:1603:18: warning: 'KeySym XKeycodeToKeysym(Display*, 
KeyCode, int)' is deprecated (declared at /usr/include/X11/Xlib.h:1695) 
[-Wdeprecated-declarations]
  ./GraphicsDisplayX11.cpp:1603:66: warning: 'KeySym XKeycodeToKeysym(Display*, 
KeyCode, int)' is deprecated (declared at /usr/include/X11/Xlib.h:1695) 
[-Wdeprecated-declarations]
  ./GraphicsDisplayX11.cpp: In member function 'bool 
nux::GraphicsDisplay::UngrabPointer(void*)':
  ./GraphicsDisplayX11.cpp:2601:33: warning: converting 'false' to pointer type 
'void*' [-Wconversion-null]
  ./GraphicsDisplayX11.cpp: In member function 'bool 
nux::GraphicsDisplay::UngrabKeyboard(void*)':
  ./GraphicsDisplayX11.cpp:2656:34: warning: converting 'false' to pointer type 
'void*' [-Wconversion-null]
  ./MeshData.cpp: In member function 'bool nux::MeshData::Allocate(int, 
nux::NuxMeshPrimitiveType, int, int)':
  ./MeshData.cpp:34:11: warning: enumeration value 'NUX_MESH_PRIMITIVE_UNKNOWN' 
not handled in switch [-Wswitch]
  ./IOpenGLAsmShader.cpp: In member function 'virtual bool 
nux::IOpenGLAsmVertexShader::Compile()':
  ./IOpenGLAsmShader.cpp:102:28: warning: variable 'ErrorString' set but not 
used [-Wunused-but-set-variable]
  ./IOpenGLAsmShader.cpp: In member function 'virtual bool 
nux::IOpenGLAsmPixelShader::Compile()':
  ./IOpenGLAsmShader.cpp:171:28: warning: variable 'ErrorString' set but not 
used [-Wunused-but-set-variable]
  ./XInputWindow.cpp: In member function 'std::vector<long int> 
nux::XInputWindow::GetStrutsData()':
  ./XInputWindow.cpp:180:7: warning: 'monitor.XRectangle::height' may be used 
uninitialized in this function [-Wmaybe-uninitialized]
  ./XInputWindow.cpp:197:7: warning: 'monitor.XRectangle::x' may be used 
uninitialized in this function [-Wmaybe-uninitialized]
  ./XInputWindow.cpp:180:7: warning: 'monitor.XRectangle::y' may be used 
uninitialized in this function [-Wmaybe-uninitialized]
  ./XInputWindow.cpp:197:7: warning: 'monitor.XRectangle::width' may be used 
uninitialized in this function [-Wmaybe-uninitialized]
  ./MainLoopGLib.cpp: In function 'gboolean 
nux::nux_timeline_dispatch(GSource*, GSourceFunc, gpointer)':
  ./MainLoopGLib.cpp:174:5: warning: 'void g_source_get_current_time(GSource*, 
GTimeVal*)' is deprecated (declared at /usr/include/glib-2.0/glib/gmain.h:415): 
Use 'g_source_get_time' instead [-Wdeprecated-declarations]
  ./MainLoopGLib.cpp:174:48: warning: 'void g_source_get_current_time(GSource*, 
GTimeVal*)' is deprecated (declared at /usr/include/glib-2.0/glib/gmain.h:415): 
Use 'g_source_get_time' instead [-Wdeprecated-declarations]
  ./MainLoopGLib.cpp: In member function 'void 
nux::WindowThread::InitGlibLoop()':
  ./MainLoopGLib.cpp:208:9: warning: 'void g_thread_init(gpointer)' is 
deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:259) 
[-Wdeprecated-declarations]
  ./MainLoopGLib.cpp:208:27: warning: 'void g_thread_init(gpointer)' is 
deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:259) 
[-Wdeprecated-declarations]

To manage notifications about this bug go to:
https://bugs.launchpad.net/nux/+bug/1032313/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to     : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to