[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Intel compiler problem in kparts/componentfactory.h
From: LiuCougar <liucougar () gmail ! com>
Date: 2004-10-03 22:19:18
Message-ID: 95580678041003151973c279d4 () mail ! gmail ! com
[Download RAW message or body]
Ok, I solved this issue myself,
just append the namespace before the call to
createInstanceFromServices and other similar functions
On Sun, 3 Oct 2004 20:56:15 +0000, LiuCougar <liucougar@gmail.com> wrote:
> Hi all,
>
> I followed the intel compiler thread and decided to use it to compile
> my own kde app.
>
> However, besides bunch of warnings etc., I got sticky in one of my core files:
>
> /bin/sh ../libtool --silent --mode=compile --tag=CXX icc
> -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/scim-1.0
> -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include
> -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long
> -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
> -Wconversion -Wchar-subscripts -Wpointer-arith -Wwrite-strings
> -fno-builtin -g -O2 -Wformat-security
> -Wmissing-format-attribute-fno-exceptions -fno-check-new -fno-common
> -g -c -o skimpluginmanager.lo skimpluginmanager.cpp
> iccbin: Command line warning: ignoring option '-W'; no argument required
> iccbin: Command line warning: ignoring option '-W'; no argument required
> iccbin: Command line warning: ignoring option '-W'; no argument required
> iccbin: Command line warning: ignoring option '-W'; no argument required
> iccbin: Command line warning: ignoring option '-W'; no argument required
> iccbin: Command line warning: ignoring option '-W'; no argument required
> iccbin: Command line warning: ignoring option '-W'; no argument required
> iccbin: Command line warning: ignoring unknown option '-fno-builtin'
> iccbin: Command line warning: ignoring option '-Wformat'; no argument required
> iccbin: Command line warning: ignoring option '-W'; no argument required
> ../utils/scimactions.h(34): warning #654: overloaded virtual function
> "KAction::updateShortcut" is only partially overridden in class
> "ScimAction"
> class ScimAction : public KAction
> ^
>
> ../utils/scimactions.h(125): warning #1125: function "KAction::text()
> const" is hidden by "ScimComboAction::text" -- virtual function
> override intended?
> QString text ( int index ) const;
> ^
>
> ../utils/scimactions.h(126): warning #1125: overloaded function
> "KAction::iconSet" is hidden by "ScimComboAction::iconSet" -- virtual
> function override intended?
> const QIconSet* iconSet(int) const;
> ^
>
> /usr/kde/3.3/include/kparts/componentfactory.h(333): error: no
> instance of function template
> "KParts::ComponentFactory::createInstanceFromServices" matches the
> argument list
> argument types are: (QValueList<KService::Ptr>::iterator,
> QValueList<KService::Ptr>::iterator, QObject *, const char *, const
> QStringList, int *)
> return createInstanceFromServices<T>( offers.begin(),
> ^
> detected during instantiation of "T
> *KParts::ComponentFactory::createInstanceFromQuery<T>(const QString &,
> const QString &, QObject *, const char *, const QStringList &, int *)
> [with T=SkimPlugin]"
>
> compilation aborted for skimpluginmanager.cpp (code 2)
>
> I have no idea why icc does not like the 333 line in the kde 3.3
> header file componentfactory.h
>
> Are there anyone who can use icc to compile the kdelibs package?
> Anyone else encouter some errors like this?
>
> Regards,
> Thanks,
>
> Cougar
> --
> "People's characters are strengthened through struggle against
> difficulties; they are weakened by comfort."
> - Old Chinese adage
>
--
"People's characters are strengthened through struggle against
difficulties; they are weakened by comfort."
- Old Chinese adage
>> Visit http://mail.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