On 26 January 2015 at 17:50, Liran Zvibel via D.gnu wrote:
> Hi,
>
> I would like to use some D code in a C binary
> .
> Part of the D functionality used is by instantiating templated structs.
>
> Even if I just try to compile the following simple code:
>
> extern (C) {
> alias mytpye = BLA!(i
On Monday, 26 January 2015 at 17:50:59 UTC, Liran Zvibel wrote:
With the following gcd flags:
-fno-invariants -fno-in -fno-out -fno-bounds-check -O3
-fno-assert -c -nophoboslib -nostdlib
I still have 3 undefined symbols:
_D10TypeInfo_i6__initZ _D15TypeInfo_Struct6__vtblZ _Dmodule_ref
If y
On Monday, 26 January 2015 at 17:50:59 UTC, Liran Zvibel wrote:
Hi,
I would like to use some D code in a C binary
.
Part of the D functionality used is by instantiating templated
structs.
Even if I just try to compile the following simple code:
extern (C) {
alias mytpye = BLA!(int);
Hi,
I would like to use some D code in a C binary
.
Part of the D functionality used is by instantiating templated
structs.
Even if I just try to compile the following simple code:
extern (C) {
alias mytpye = BLA!(int);
struct BLA(T) {
T x;
}
}
With the following gcd flag