[PATCH] fix kdeumultimedia/arts/builder compilation with --enable-final
fenix
fenix at club-internet.fr
Thu Jul 11 05:57:23 BST 2002
Hi,
i got this error when compiling arts/builder with -enable-final:
<snip>
structure.cpp:230: warning: unused parameter `const char*pubname'
In file included from artsbuilder.all_cpp.cpp:7:
retrievedlg.cpp: In constructor `RetrieveDlg::RetrieveDlg(QWidget*)':
retrievedlg.cpp:59: `min_size' undeclared (first use this function)
retrievedlg.cpp:59: (Each undeclared identifier is reported only once
for each function it appears in.)
In file included from artsbuilder.all_cpp.cpp:8:
<snip>
execdlg.cpp: In constructor `ExecDlg::ExecDlg(QWidget*,
ExecutableStructure*)':
execdlg.cpp:67: `min_size' undeclared (first use this function)
execdlg.cpp:67: (Each undeclared identifier is reported only once for
each function it appears in.)
<snip>
this error happened because 'min_size' is only defined in non-kde final
as seen:
#ifndef KDE_USE_FINAL
static void min_size(QWidget *w) {
w->setMinimumSize(w->sizeHint());
}
#endif
I have only put use of 'min_size' in #ifndef/#endif
FeniX
-------------- next part --------------
A non-text attachment was scrubbed...
Name: builder.patch
Type: text/x-patch
Size: 1432 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20020711/f4aca0d1/attachment.bin>
More information about the kde-multimedia
mailing list