← Back to team overview

hugin-bug-hunters team mailing list archive

[Bug 680842] [NEW] fix the compiler warnings.

 

Public bug reported:

Hugin compiles on Ubuntu with lots of warnings.

/usr/include/c++/4.4/backward/backward_warning.h:28:2: warning: #warning
This file includes at least one deprecated or antiquated header which
may be removed without further notice at a future date. Please use a
non-deprecated interface with equivalent functionality instead. For a
listing of replacement headers and interfaces, consult the file
backward_warning.h. To disable this warning use -Wno-deprecated.

hugin.hg/src/hugin1/hugin/GLPreviewFrame.cpp:53:1: warning: "DEBUG_HEADER" redefined
hugin.hg/src/hugin1/ptbatcher/PTBatcherGUI.cpp:390: warning: deprecated conversion from string constant to ‘wxChar*’
hugin.hg/src/foreign/zthread/include/zthread/PoolExecutor.h:58: warning: ‘ZThread::PoolExecutor’ has a field ‘ZThread::PoolExecutor::_impl’ whose type uses the anonymous namespace


Someone should go and find what depreciated interface is being used and fix it. 

Version: Just pulled from HG.

** Affects: hugin
     Importance: Medium
         Status: Confirmed

-- 
fix the compiler warnings. 
https://bugs.launchpad.net/bugs/680842
You received this bug notification because you are a member of Hugin Bug
Hunters, which is subscribed to Hugin.

Status in Hugin - Panorama Tools GUI: Confirmed

Bug description:
Hugin compiles on Ubuntu with lots of warnings. 

/usr/include/c++/4.4/backward/backward_warning.h:28:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.

hugin.hg/src/hugin1/hugin/GLPreviewFrame.cpp:53:1: warning: "DEBUG_HEADER" redefined
hugin.hg/src/hugin1/ptbatcher/PTBatcherGUI.cpp:390: warning: deprecated conversion from string constant to ‘wxChar*’
hugin.hg/src/foreign/zthread/include/zthread/PoolExecutor.h:58: warning: ‘ZThread::PoolExecutor’ has a field ‘ZThread::PoolExecutor::_impl’ whose type uses the anonymous namespace


Someone should go and find what depreciated interface is being used and fix it. 

Version: Just pulled from HG.





Follow ups

References