strange link error: _My_struct__xtoHashFNbNeKxSQBlQBoQBiZm _My_struct__xopEqualsMxFKxSQBlQBoQBiZb

mw m at g.c
Mon Oct 16 21:33:09 UTC 2023


On Monday, 16 October 2023 at 21:20:39 UTC, mw wrote:
> It's very hard to isolate the problem. I have comment out that 
> piece part of code for now (non-essential part of my program): 
> comment out where the struct is used, not the struct definition.
>
> Anyway, I will try some time later.

BTW, the struct is generated by

https://github.com/dcarp/protobuf-d/blob/master/examples/dub.json

using the `--d_opt=message-as-struct` option, it looks like this:

```
struct Foo
{
     @Proto(1) string a = protoDefaultValue!string;
     @Proto(2) int b = protoDefaultValue!int;
     @Proto(3) int c = protoDefaultValue!int;
}

```


More information about the Digitalmars-d-learn mailing list