[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#191737: marked as done (xinerama.h is missing extern C { for C++ compiling)



Your message dated Sat, 3 May 2003 21:39:33 +1000
with message-id <20030503113933.GJ16832@trinity.unimelb.edu.au>
and subject line Bug#191737: xinerama.h is missing extern C { for C++ compiling
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 3 May 2003 10:35:28 +0000
>From foskey@optushome.com.au Sat May 03 05:35:26 2003
Return-path: <foskey@optushome.com.au>
Received: from mail018.syd.optusnet.com.au [210.49.20.176] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 19BuMW-0008BG-00; Sat, 03 May 2003 05:35:25 -0500
Received: from [192.168.0.55] (c18167.rivrw4.nsw.optusnet.com.au [211.28.165.15])
	by mail018.syd.optusnet.com.au (8.11.6p2/8.11.6) with ESMTP id h43AZMI19930
	for <submit@bugs.debian.org>; Sat, 3 May 2003 20:35:22 +1000
Subject: xinerama.h is missing extern C { for C++ compiling
From: Ken Foskey <foskey@optushome.com.au>
To: submit@bugs.debian.org
Content-Type: text/plain
Organization: 
Message-Id: <1051958121.896.91.camel@gandalf.foskey.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.4 
Date: 03 May 2003 20:35:21 +1000
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-12.3 required=4.0
	tests=BAYES_10,HAS_PACKAGE,USER_AGENT_XIMIAN
	autolearn=ham version=2.53-bugs.debian.org_2003_04_23
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_04_23 (1.174.2.15-2003-03-30-exp)

Package:  xlibs-dev
Version: 4.2.1-6


The Xinerama.h file is missing the following construct from the top and
bottom of the file.  This allows it to be safely used in C++ programs, 
this is a build bug for the very latest OpenOffice.org.  This is also
the case on RedHat, Suse, etc so it is definitely an upstream problem.

#ifdef __cplusplus
extern "C" {
#endif

#ifdef __cplusplus
};
#endif

-- 
Thanks
KenF
OpenOffice.org developer


---------------------------------------
Received: (at 191737-done) by bugs.debian.org; 3 May 2003 11:39:48 +0000
>From dstone@trinity.unimelb.edu.au Sat May 03 06:39:41 2003
Return-path: <dstone@trinity.unimelb.edu.au>
Received: from epistula.trinity.unimelb.edu.au [203.28.240.16] (postfix)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 19BvMi-0004VC-00; Sat, 03 May 2003 06:39:40 -0500
Received: by epistula.trinity.unimelb.edu.au (Postfix, from userid 105)
	id A27D91801E; Sat,  3 May 2003 21:39:38 +1000 (EST)
Received: from localhost (localhost [127.0.0.1])
	by epistula.trinity.unimelb.edu.au (Postfix) with ESMTP id 82B1B1801F
	for <191737-done@bugs.debian.org>; Sat,  3 May 2003 21:39:37 +1000 (EST)
Received: from roger.trinity.unimelb.edu.au (roger.trinity.unimelb.edu.au [203.28.240.3])
	by epistula.trinity.unimelb.edu.au (Postfix) with ESMTP id C0EE21801E
	for <191737-done@bugs.debian.org>; Sat,  3 May 2003 21:39:33 +1000 (EST)
Received: by roger.trinity.unimelb.edu.au (Postfix, from userid 1280)
	id 469AE17E89; Sat,  3 May 2003 21:39:33 +1000 (EST)
Date: Sat, 3 May 2003 21:39:33 +1000
From: Daniel Stone <dstone@kde.org>
To: 191737-done@bugs.debian.org
Subject: Re: Bug#191737: xinerama.h is missing extern C { for C++ compiling
Message-ID: <20030503113933.GJ16832@trinity.unimelb.edu.au>
References: <[🔎] eDc1iD.A.jmB.Kj6s-@murphy>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="mFHiwr52TKrxpkjc"
Content-Disposition: inline
In-Reply-To: <[🔎] eDc1iD.A.jmB.Kj6s-@murphy>
User-Agent: Mutt/1.3.28i
X-GnuPG-Key: 3CED7EFD
X-Virus-Scanned: by AMaViS snapshot-20020316
Delivered-To: 191737-done@bugs.debian.org
X-Spam-Status: No, hits=-32.6 required=4.0
	tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2,
	      QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES,
	      USER_AGENT_MUTT
	autolearn=ham version=2.53-bugs.debian.org_2003_04_23
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_04_23 (1.174.2.15-2003-03-30-exp)


--mFHiwr52TKrxpkjc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, May 03, 2003 at 08:35:21PM +1000, Ken Foskey wrote:
> The Xinerama.h file is missing the following construct from the top and
> bottom of the file.  This allows it to be safely used in C++ programs,=20
> this is a build bug for the very latest OpenOffice.org.  This is also
> the case on RedHat, Suse, etc so it is definitely an upstream problem.
>=20
> #ifdef __cplusplus
> extern "C" {
> #endif
>=20
> #ifdef __cplusplus
> };
> #endif

Uh, how is this X11's fault?

extern "C" {
#include <Xinerama.h>
}

Closing this spurious bug. Xinerama is a C library, so you should take
the appropriate cautions when interfacing with it, not the other way
around.

--=20
Daniel Stone 	     <daniel@raging.dropbear.id.au>             <dstone@kde.o=
rg>
KDE: Konquering a desktop near you - http://www.kde.org

--mFHiwr52TKrxpkjc
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+s6p1cPClnTztfv0RAnHgAJwKhgdlkH055j+dYJTo/TYVsdtiTQCggKL5
KeeqyxGPNpRlrFaYGv/m1u0=
=svk4
-----END PGP SIGNATURE-----

--mFHiwr52TKrxpkjc--



Reply to: