nla_policy results in "sorry, unimplemented: non-trivial designated initializers not supported" during compile

Avery Rozar avery.rozar at insecure-it.com
Thu Jul 21 14:52:52 PDT 2016


Please forgive my ignorance but I'm fairly new to c++ coming from
Python. I'm trying to build an nla_policy using the example here
(http://www.infradead.org/~tgr/libnl/doc/core.html "6.5.2").
What is ".type" referring to. Where is that defined? My IDE says it
can not resolve it, and when I compile I get "sorry, unimplemented:
non-trivial designated initializers not supported".
>From what I've seen this error seems to stem from using g++ vs gcc. Is
this a c only example?


Thank you,
Avery Rozar



More information about the libnl mailing list