[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Compiling korganizer in 2.1.1 with IRIX C++
From:       Cornelius Schumacher <schumacher () kde ! org>
Date:       2001-04-04 6:59:58
[Download RAW message or body]

On Wednesday 04 April 2001 07:56, kde-devel@thewrittenword.com wrote:
> While trying to build korganizer in 2.1.1 with IRIX C++ under IRIX
> 6.5:
>
> CC -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/TWWfsw/kde211/include
> -I/opt/TWWfsw/qt22/include -I/opt/TWWfsw/jpeg/include
> -I/opt/TWWfsw/libpng10/include -I/opt/TWWfsw/zlib11/include -I./versit
> -I../libical/src/libical -I../libical/src/libicalss
> -I../libical/src/libical -I../libical/src/libicalss -DNDEBUG -LANG:std
> -Wl,-woff,84 -Wl,-woff,85 -woff 1429 -O2 -DQT_CLEAN_NAMESPACE
> -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -c xQGantt.cpp  -KPIC -DPIC -o
> .libs/xQGantt.o
> cc-1681 CC: WARNING File = xQGanttListViewPort.h, Line = 97
>   The "void xQGanttListViewPort::drawContents(QPainter *, int, int,
> int, int)"
>           does not match "QFrame::drawContents"--is virtual function
> override
>           intended?
>
>     void drawContents(QPainter*, int x1, int y1, int x2, int y2);
>          ^
>
> cc-1281 CC: ERROR File = xQGantt.cpp, Line = 17
>   There is a redefinition of a default argument.
>
>   xQGantt::xQGantt(xQTask* maintask = 0, QWidget* parent = 0,
>   ^
>
> 1 error detected in the compilation of "xQGantt.cpp".

The redifinition of default arguments in the function definitions is wrong 
(and fixed in CVS). Either tell your compiler to ignore the redifinition or 
remove the default arguments from the .cpp files.

-- 
Cornelius Schumacher <schumacher@kde.org>
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic