[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice
Subject: Re: compilation fails: visibility arg error
From: Sebastian Sauer <mail () dipe ! org>
Date: 2007-03-05 23:38:53
Message-ID: 200703060038.54299.mail () dipe ! org
[Download RAW message or body]
Martin d'Anjou wrote:
> I cannot compile KOffice. Here is the error message:
>
> if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++
> -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../lib/kross
> -I../../../lib/kross -I/usr/include/kde -I/usr/lib/qt-3.3/include
> -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long
> -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
> -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security
> -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
> -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
> -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF
> -fexceptions -MT qtobject.lo -MD -MP -MF ".deps/qtobject.Tpo" -c -o
> qtobject.lo qtobject.cpp; \
> then mv -f ".deps/qtobject.Tpo" ".deps/qtobject.Plo"; else rm -f
> ".deps/qtobject.Tpo"; exit 1; fi
> In file included from qtobject.cpp:25:
> ../main/manager.h:163: error: visibility arg must be one of "default",
> "hidden", "protected" or "internal"
>
> Using gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)
>
> QT Version: echo $QTDIR returns /usr/lib/qt-3.3
Looks as I've no idea why it actualy fails to compile. The Manager is defined
as;
class KDE_EXPORT Manager : public MainModule {...}
class MainModule : public Module {...}
class Module : public Class<Module> {...}
etc.
so, KDE_EXPORT is actualy there or is needed to add the macro also to all the
classes it inherits?
--
Sebastian Sauer aka dipesh[sebsauer]
http://www.dipe.org/public_key.asc
Fingerprint: 8F1E 219B 16E6 4EC7 29CC F408 E193 65E2 9134 2221
Coder in http://www.koffice.org && http://www.kmldonkey.org
____________________________________
koffice mailing list
koffice@kde.org
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic