Hi Neels,
the topic you're raising is one of asn1c's code generation, and it should probably be discussed in the mailing list / forum / ... of asn1c.
I did some research in the past and not find a way to disable those specific warnings in gcc (without recompiling gcc).