• Bug#870836: /usr/bin/imake: imake generated makefile use deprecated -D_

    From =?UTF-8?Q?R=C3=A9mi?= Vanicat@21:1/5 to All on Sat Aug 5 20:20:03 2017
    XPost: linux.debian.bugs.dist

    Package: xutils-dev
    Version: 1:7.7+5+b1
    Severity: minor
    File: /usr/bin/imake

    Dear Maintainer,

    While recompiling xdu, It generate the following error:

    In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25:0,
    from /usr/include/X11/Xlib.h:38,
    from /usr/include/X11/Intrinsic.h:53,
    from xwin.c:22:
    /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
    # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
    ^~~~~~~

    imake and xmkmf should stop using those define, and user -D_DEFAULT_SOURCE instead.

    Thanks.

    -- System Information:
    Debian Release: 9.1
    APT prefers oldstable-updates
    APT policy: (500, 'oldstable-updates'), (500, 'stable'), (500, 'oldstable'), (155, 'testing'), (150, 'unstable'), (120, 'experimental')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores)
    Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
    Shell: /bin/sh linked to /bin/dash
    Init: systemd (via /run/systemd/system)

    Versions of packages xutils-dev depends on:
    ii cpp 4:6.3.0-4
    ii libc6 2.24-12

    xutils-dev recommends no packages.

    xutils-dev suggests no packages.

    -- no debconf information
    --
    RĂ©mi Vanicat

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)