linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #04423
[Bug 830318] [NEW] Build error on MinGW (r2597)
Public bug reported:
Compilation dies with following output:
$ /c/Python27/Scripts/scons
scons: Reading SConscript files ...
Checking for C++ header file htmlhelp.h... (cached) no
Checking for C++ header file natupnp.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
Compiling build\debug-mingw\win32\AboutDlg.o (static)
win32\AboutDlg.cpp: In lambda function:
win32\AboutDlg.cpp:66:48: error: cannot call member function 'bool AboutDlg::han
dleInitDialog()' without object
win32\AboutDlg.cpp:66:51: error: return-statement with a value, in function retu
rning 'void'
In file included from ./dcpp/stdinc.h:60:0,
from win32\/stdafx.h:24,
from win32\AboutDlg.cpp:19:
c:\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/functional: In static member f
unction 'static _Res std::_Function_handler<_Res(_ArgTypes ...), _Functor>::_M_i
nvoke(const std::_Any_data&, _ArgTypes ...) [with _Res = bool, _Functor = AboutD
lg::AboutDlg(dwt::Widget*)::<lambda()>, _ArgTypes = {}]':
c:\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/functional:2103:6: instantia
ted from 'std::function<_Res(_ArgTypes ...)>::function(_Functor, typename std::e
nable_if<(! std::is_integral<_Functor>::value), std::function<_Res(_ArgTypes ...
)>::_Useless>::type) [with _Functor = AboutDlg::AboutDlg(dwt::Widget*)::<lambda(
)>, _Res = bool, _ArgTypes = {}, typename std::enable_if<(! std::is_integral<_Fu
nctor>::value), std::function<_Res(_ArgTypes ...)>::_Useless>::type = std::funct
ion<bool()>::_Useless]'
win32\AboutDlg.cpp:66:52: instantiated from here
c:\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/functional:1699:47: error: voi
d value not ignored as it ought to be
scons: *** [build\debug-mingw\win32\AboutDlg.o] Error 1
scons: building terminated because of errors.
** Affects: dcplusplus
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/830318
Title:
Build error on MinGW (r2597)
Status in DC++:
New
Bug description:
Compilation dies with following output:
$ /c/Python27/Scripts/scons
scons: Reading SConscript files ...
Checking for C++ header file htmlhelp.h... (cached) no
Checking for C++ header file natupnp.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
Compiling build\debug-mingw\win32\AboutDlg.o (static)
win32\AboutDlg.cpp: In lambda function:
win32\AboutDlg.cpp:66:48: error: cannot call member function 'bool AboutDlg::han
dleInitDialog()' without object
win32\AboutDlg.cpp:66:51: error: return-statement with a value, in function retu
rning 'void'
In file included from ./dcpp/stdinc.h:60:0,
from win32\/stdafx.h:24,
from win32\AboutDlg.cpp:19:
c:\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/functional: In static member f
unction 'static _Res std::_Function_handler<_Res(_ArgTypes ...), _Functor>::_M_i
nvoke(const std::_Any_data&, _ArgTypes ...) [with _Res = bool, _Functor = AboutD
lg::AboutDlg(dwt::Widget*)::<lambda()>, _ArgTypes = {}]':
c:\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/functional:2103:6: instantia
ted from 'std::function<_Res(_ArgTypes ...)>::function(_Functor, typename std::e
nable_if<(! std::is_integral<_Functor>::value), std::function<_Res(_ArgTypes ...
)>::_Useless>::type) [with _Functor = AboutDlg::AboutDlg(dwt::Widget*)::<lambda(
)>, _Res = bool, _ArgTypes = {}, typename std::enable_if<(! std::is_integral<_Fu
nctor>::value), std::function<_Res(_ArgTypes ...)>::_Useless>::type = std::funct
ion<bool()>::_Useless]'
win32\AboutDlg.cpp:66:52: instantiated from here
c:\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/functional:1699:47: error: voi
d value not ignored as it ought to be
scons: *** [build\debug-mingw\win32\AboutDlg.o] Error 1
scons: building terminated because of errors.
To manage notifications about this bug go to:
https://bugs.launchpad.net/dcplusplus/+bug/830318/+subscriptions
Follow ups
References