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

Bug#238666: marked as done (x-dev: hideous namespace pollution in Xosdefs.h)



Your message dated Wed, 31 Jan 2007 23:27:37 +0100
with message-id <45C117D9.4060200@ens-lyon.org>
and subject line Bug#238666: x-dev: hideous namespace pollution in Xosdefs.h
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)

--- Begin Message ---
Package: kali
Severity: serious
Version: 3.1-4

>From my build log:

...
cc -DXFORM -O2 -g -Wall -I/usr/include/X11    -c -o callbacks.o callbacks.c
In file included from /usr/include/X11/forms.h:1762,
                 from callbacks.c:80:
/usr/include/X11/Xlib.h:78: error: conflicting types for `wchar_t'
/usr/lib/gcc-lib/i486-linux/3.3.3/include/stddef.h:325: error: previous declaration of `wchar_t'
callbacks.c: In function `forms_init':
callbacks.c:181: warning: implicit declaration of function `winset'
callbacks.c:182: warning: implicit declaration of function `winconstraints'
callbacks.c: In function `SymmetryProc':
callbacks.c:225: warning: implicit declaration of function `scheduleRedraw'
callbacks.c: In function `PrintProc':
callbacks.c:361: warning: passing arg 2 of `fl_show_question' makes integer from pointer without a cast
make[1]: *** [callbacks.o] Error 1
make[1]: Leaving directory `/tmp/buildd/kali-3.1'
make: *** [build-stamp] Error 2

Looking at Xlib.h, it appears that the wchar_t definition normally
shouldn't be included, so my first guess would be that something is
confusing the X headers somehow.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.3
Locale: LANG=en, LC_CTYPE=en (ignored: LC_ALL set to en_US.UTF-8)

-- 
Daniel Schepler              "Please don't disillusion me.  I
schepler@math.berkeley.edu    haven't had breakfast yet."
                                 -- Orson Scott Card


--- End Message ---
--- Begin Message ---
I guess everybody agrees that these #define are ugly. But, there are
very few chances that they get fixed upstream. Instead, people should
get used to prefix their own #define so that they don't get conflicts
like this one :/
Closing.

Brice


--- End Message ---

Reply to: