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

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



On 13 June 2016 at 20:56, Peter De Wachter <pdewacht@gmail.com> wrote:
> 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.
>

The compiler runtime includes (core, std) should be in compiler-specific paths.

Regards
Iain.


Reply to: