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

List:       kde-solaris
Subject:    [kde-solaris] Fwd: Bug#44096: One system include file (net/if.h) conflicts with g++ include stl_map.
From:       Daniel Molkentin <daniel () molkentin ! de>
Date:       2002-06-19 9:20:48
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anyone?

- ----------  On Wednesday 19 June 2002 11:00, bmarcade@canal-plus.fr wrote:  
- ----------

Subject: Bug#44096: One system include file (net/if.h) conflicts with g++ 
include stl_map.h
Date: Wednesday 19 June 2002 11:00
From: bmarcade@canal-plus.fr
To: submit@bugs.kde.org

Package: kcontrol
Version: kde-base 3.0 kcontrol/nics (using KDE 3.0.1 )
Severity: normal
Installed from:    Compiled From Sources
Compiler:          gcc 2.95.3
OS:                Solaris
OS/Compiler notes: Solaris 2.6 and gcc2.95.3 rebuild with --enable-shared
Problem occurs when building kdebase-3.0, when entering kcontrol/nics. File
 nic.cpp include various files of which /usr/include/net/if.h (system include
 from Solaris 2.6) and sl_map.h (delivered with gcc-2.95.3). System include
 file (net/if.h) conflicts with gcc include files (stl_map.h). File
 (net/if.h) contains a structure named 'map' and stl_map.h a class named
 'map'. As both are included when building kdebase/kcontrol/nics/nic.cpp, gcc
 returns an error message. A simple fix is to comment line 'struct map
 *ifconf' within net/if.h. Build achieves correctly. Same issue exists within
 kdebase-3.0/kdm/chooser, fixed with same solution. (Submitted via
 bugs.kde.org)
(Complete bug history is available at http://bugs.kde.org/db/44/44096.html)

- -------------------------------------------------------

- -- 
Daniel Molkentin <molkentin@kde.org> | The K Desktop Environment
KDE - Konqueror your Desktop!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9EEzwu1Wkf8kBwz4RAoY7AJ0dg2wbk3hsaE2xAiyHhy2Vb6+guQCg2wWf
FnZRsWSnDeFX1m+A4HAyess=
=phRG
-----END PGP SIGNATURE-----

___________________________________________________
This message is from the kde-solaris mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread] 

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