Skip to content

Please support the GDC compiler #643

Closed
@Behkar

Description

± |master ✓| → dub run --build=release --compiler=gdc
Performing "release" build using gdc for x86_64.
bindbc-loader 1.0.1: target for configuration "noBC" is up to date.
bindbc-freetype 1.0.5: target for configuration "dynamic" is up to date.
bindbc-opengl 1.0.3: target for configuration "dynamic" is up to date.
bindbc-sdl 1.0.1: target for configuration "dynamic" is up to date.
inilike 1.2.2: target for configuration "library" is up to date.
isfreedesktop 0.1.1: target for configuration "library" is up to date.
xdgpaths 0.2.5: target for configuration "library" is up to date.
icontheme 1.2.3: target for configuration "library" is up to date.
undead 1.1.8: building configuration "library"...
/home/mahdis/.dub/packages/undead-1.1.8/undead/src/undead/doformat.d:419:15: error: none of the overloads of template ‘core.stdc.stdarg.va_arg’ are callable using argument types ‘!()(__va_list_tag[1], TypeInfo, void*)’
  419 |         va_arg(ap, ti, argBuffer + pos);
      |               ^
/usr/lib/gcc/x86_64-redhat-linux/12/include/d/core/stdc/stdarg.d:172:7: note: Candidates are: ‘va_arg(T)(ref va_list ap)’
  172 |     T va_arg(T)(ref va_list ap); // intrinsic
      |       ^
/usr/lib/gcc/x86_64-redhat-linux/12/include/d/core/stdc/stdarg.d:271:10: note:                 ‘va_arg(T)(ref va_list ap, ref T parmn)’
  271 |     void va_arg(T)(ref va_list ap, ref T parmn); // intrinsic
      |          ^
/home/mahdis/.dub/packages/undead-1.1.8/undead/src/undead/stream.d:1209:13: error: template instance ‘undead.doformat.doFormat!()’ error instantiating
 1209 |     doFormat(&doFormatCallback,arguments,argptr);
      |             ^
gdc failed with exit code 1.

It seems, all the packages compile successfully with GDC, it just remains undead.

My compiler version : gdc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4)

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions