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

Bug#191737: acknowledged by developer (Re: Bug#191737: xinerama.h is missing extern C { for C++ compiling)



On Sat, May 03, 2003 at 10:43:21PM +1000, Ken Foskey wrote:
> C++ programmers cannot know whether a library is C only of C++ in every
> instance.  The only error we get is a obscure link message of a missing
> _Z16XineramaIsActiveP9_XDisplay

Well, you should probably know your major libraries better than that.
The only C++ library in XFree86 is libGLU.

> Not very easy to debug, easy to fix the include so that people do not
> get tripped up though.  Also SUSE have included a fix at source which is
> why the problem is random.

Yes, but it's not Xinerama's problem, and I don't see why it should be
bending over backwards to support people using it from another language.
I certainly won't be including this patch in my tree.

Don't get me wrong, I'm all for C++ (see my .signature), but I just
don't see any reason why Xinerama should be doing the extern "C" work
itself.

> http://ftp.suselinux.hu/suse/i386/supplementary/X/XFree86/XFree86-4.2.0-SuSE/CHANGES
> 
> Where do I go to raise the problem direct at source?

http://bugs.xfree86.org.

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

Attachment: pgpjURCRznOOm.pgp
Description: PGP signature


Reply to: