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

List:       kde-core-devel
Subject:    warning: `visibility' attribute does not apply to types when
From:       Grzegorz_Jaƛkiewicz <gryzman () gmail ! com>
Date:       2004-09-17 0:13:53
Message-ID: 2f4958ff040916171340c30f2 () mail ! gmail ! com
[Download RAW message or body]

Hi folks

visibility() thing is enabled for gcc 3.4 (in
kdelibs/kdecore/kdemacros.h), it gives me loads of warnings during
build, which were not there when I used gcc 3.4.
Now I know gcc 4.0 is still in it's alphas, but perhaps it's time to
do something about it.

Here's the snippet from make 2> log && grep visibility log |uniq

./kdecore/kcheckaccelerators.h:96: warning: `visibility' attribute
does not apply to types
./kdecore/kaccelmanager.h:79: warning: `visibility' attribute does not
apply to types
./kdecore/kconfigdata.h:93: warning: `visibility' attribute does not
apply to types
./kdecore/kconfigbase.h:2157: warning: `visibility' attribute does not
apply to types
./kdecore/ksharedptr.h:82: warning: `visibility' attribute does not
apply to types
./kdecore/ksharedptr.h:175: warning: `visibility' attribute does not
apply to types
./kdecore/klockfile.h:121: warning: `visibility' attribute does not
apply to types
./kdecore/kconfig.h:268: warning: `visibility' attribute does not apply to types
./kdecore/kdebug.h:407: warning: `visibility' attribute does not apply to types
./kdecore/kinstance.h:157: warning: `visibility' attribute does not
apply to types
./kdecore/kglobal.h:172: warning: `visibility' attribute does not apply to types
./kdecore/kshortcut.h:833: warning: `visibility' attribute does not
apply to types
./kdecore/klocale.h:1304: warning: `visibility' attribute does not
apply to types
./dcop/dcopobject.h:340: warning: `visibility' attribute does not apply to types
./dcop/dcopobject.h:406: warning: `visibility' attribute does not apply to types
./dcop/dcopref.h:1464: warning: `visibility' attribute does not apply to types
./kdecore/kdebugdcopiface.h:49: warning: `visibility' attribute does
not apply to types
./kdecore/kdebug.h:407: warning: `visibility' attribute does not apply to types
./dcop/dcopobject.h:406: warning: `visibility' attribute does not apply to types
./dcop/dcopref.h:109: warning: `visibility' attribute does not apply to types
/home/gj/kde-sources/kdelibs/kdecore/kdebugdcopiface.h:49: warning:
`visibility' attribute does not apply to types
....


-- 
GJ
[prev in list] [next in list] [prev in thread] [next in thread] 

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