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

Bug#695064: marked as done (conflicting declaration ‘typedef CARD8 BOOL’ in xmd.h)



Your message dated Thu, 6 Dec 2012 12:05:10 +0100
with message-id <20121206110510.GR5634@radis.cristau.org>
and subject line Re: Bug#695064: conflicting declaration ‘typedef CARD8 BOOL’ in xmd.h
has caused the Debian Bug report #695064,
regarding conflicting declaration ‘typedef CARD8 BOOL’ in xmd.h
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
695064: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695064
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libx11-dev:amd64
Version: 2:1.5.0-1


Hi,

I'm building a c++ application, which includes xf86vmode.h header.


I think this is part of the X11 library header files.  Here is the dpkg output:

jarrett@debian:~/$ dpkg --list libx11-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                Version                Architecture           Description
+++-===================================-======================-======================-============================================================================
ii  libx11-dev:amd64                    2:1.5.0-1              
amd64                  X11 client-side library (development headers)


When I compile with the g++ flag '-std=gnu++0x', I get the following error:

In file included from /usr/include/X11/extensions/xf86vmode.h:37:0,
                 from src/engine/../linux/LinuxGLWindow.h:31,
                 from src/engine/../linux/Common.h:11,
                 from src/engine/IceGraphicsEngine.h:27,
                 from src/engine/IceGraphicsEngine.cpp:8:
/usr/include/X11/Xmd.h:143:16: error: conflicting declaration ‘typedef CARD8 BOOL’


My guess is the new c++ features has a conflict or something here...

If I remove line 143 from Xmd.h, I no longer see this error.


Cheers

Jarrett


PS: the reportbug application crashed (I was using the gtk version) with
this error:

jarrett@debian:~$ reportbug
*** glibc detected *** **
Gdk:ERROR:/tmp/buildd/gtk+2.0-2.24.10/gdk/gdkregion-generic.c:1110:miUnionNonO:
assertion failed: (y1 < y2)
Aborted

--- End Message ---
--- Begin Message ---
On Wed, Dec  5, 2012 at 20:10:37 -0500, Jarrett Chisholm wrote:

> Hi Julien,
> 
> thanks for getting back to me about this issue!
> 
> I believe it is conflicting with FreeImage.h....here's the full stack trace:
> 
Right, so it's nothing to do with c++.  I don't think there's much we
can do here, sorry.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: