wahern / dns

dns.c: Single file non-blocking DNS C library without callbacks or external dependencies.
http://25thandclement.com/~william/projects/dns.c.html
MIT License
256 stars 64 forks source link

gcc 9.1.0 compile error #33

Open kitech opened 5 years ago

kitech commented 5 years ago

gcc -c dns.c -o dns.o -D_DEFAULT_SOURCE

  dns.h:527:16: error: lvalue required as unary ‘&’ operand
  527 |  dns_rr_i_init(&dns_quietinit((struct dns_rr_i){ 0, __VA_ARGS__ }), (P))
sjakub commented 5 years ago

I created a fix for this issue: https://github.com/wahern/dns/pull/35

89343671 commented 5 years ago

still error. merge?

sjakub commented 5 years ago

still error. merge?

The fix has not been merged. Also, the last commit to this project was in December 2016...