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

Bug#439859: marked as done (/usr/include/sys/sysmacros.h defines "major", "minor" and "makedev" as macros)



Your message dated Sat, 15 Sep 2007 20:25:17 +0200
with message-id <20070915182517.GG27494@artemis.corp>
and subject line Processed: reopening 439859, found 439859 in 2.6.1-3
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: libc6-dev
Version: 2.6.1-1+b1
Severity: normal

Hi,

these names are defined as macros, making software that uses one of them
as an identifier miscompile (if the definition is seen everywhere, the
list of exported symbols changes in an incompatible way) or break (if
the definition is not seen everywhere, for example because only the
implementation of a function needs them).

It is specifically a problem with orbit2cpp; CORBA::Exception has member
functions "major" and "minor" describing the exception; with these
definitions in effect, compilation of functions accessing these fails
with

error: `class CORBA::SystemException' has no member named
`gnu_dev_minor'

This can be worked around to some extent by undefining the macros,
however that breaks if some implementation of an interface needs them.

   Simon

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-686 (SMP w/1 CPU core)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6-dev depends on:
ii  libc6                         2.6.1-1+b1 GNU C Library: Shared libraries
ii  linux-libc-dev                2.6.22-3   Linux Kernel Headers for developme

Versions of packages libc6-dev recommends:
ii  gcc [c-compiler]              4:4.1.2-7  The GNU C compiler
ii  gcc-4.1 [c-compiler]          4.1.2-15   The GNU C compiler
ii  gcc-4.2 [c-compiler]          4.2.1-4    The GNU C compiler

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 2.6.1-4

  Sorry but in my version here, those are not macros ... And I'm pretty
sure it was fixed in -3 already

-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: pgpa8CgLRw4MK.pgp
Description: PGP signature


--- End Message ---

Reply to: