• Bug#267205: libc6-dev: /usr/include/gnu/stubs.h uses non-portable white

    From Branden Robinson@1:229/2 to All on Sat Aug 21 08:00:08 2004
    XPost: linux.debian.maint.glibc
    From: [email protected]

    Package: libc6-dev
    Version: 2.3.2.ds1-16
    Severity: normal
    File: /usr/include/gnu/stubs.h

    This file uses non-portable whitespace, to wit:

    #ifdef _LIBC
    #error Applications may not define the macro _LIBC
    #endif

    The leading space before the hash mark is not correct.

    # error Applications may not define the macro _LIBC

    would be better (and portable).

    This causes tools like X11's "makedepend" script to howl. A lot.

    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: powerpc (ppc)
    Kernel: Linux 2.4.25-powerpc-smp
    Locale: LANG=C, LC_CTYPE=en_US.UTF-8

    Versions of packages libc6-dev depends on:
    ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an ii linux-kernel-headers 2.5.999-test7-bk-17 Linux Kernel Headers for developme

    -- no debconf information


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Falk Hueffner@1:229/2 to Branden Robinson on Sat Aug 21 09:30:16 2004
    XPost: linux.debian.maint.glibc
    From: [email protected]

    Branden Robinson <[email protected]> writes:

    This file uses non-portable whitespace, to wit:

    #ifdef _LIBC
    #error Applications may not define the macro _LIBC
    #endif

    The leading space before the hash mark is not correct.

    # error Applications may not define the macro _LIBC

    would be better (and portable).

    This causes tools like X11's "makedepend" script to howl. A lot.

    The C standard does not require this, nor does any cpp in the real
    world for 10 years, so IMHO you should rather fix makedepend.

    --
    Falk


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)