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

Bug#827211: gdc-5: attempts to use ldc's include files



Package: gdc-5
Version: 5.4.0-4
Severity: normal

Hi,

If ldc is installed, gdc will attempt to use ldc's include files in
preference to its own. This won't work, as many of these files are not
portable:

  $ cat test.d
  import core.stdc.stdarg;

  $ gdc -c test.d
  /usr/include/d/core/stdc/stdarg.d:48:5: error: undefined identifier __va_list_tag
       alias __va_list = __va_list_tag;

I really don't know what the search path conventions are for D
compilers.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages gdc-5 depends on:
ii  g++-5            5.4.0-4
ii  gcc-5-base       5.4.0-4
ii  libc6            2.22-11
ii  libgmp10         2:6.1.0+dfsg-2
ii  libisl15         0.17.1-1
ii  libmpc3          1.0.3-1
ii  libmpfr4         3.1.4-2
ii  libphobos-5-dev  5.4.0-4
ii  zlib1g           1:1.2.8.dfsg-2+b1

gdc-5 recommends no packages.

gdc-5 suggests no packages.

-- no debconf information


Reply to: