You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ./configure && make
...
/usr/bin/ld: XXX.o:/home/user/fdns/src/fdns/fdns.h:270: multiple definition of `arg_fallback_server'; cache.o:/home/user/fdns/src/fdns/fdns.h:270: first defined here
...
$ ./configure --enable-fatal-warnings && make
...
server.c:36:2: error: missing initializer for field ‘website’ of ‘DnsServer’ {aka ‘struct dnsserver_t’} [-Werror=missing-field-initializers]
36 | { NULL, 0, "adguard", "94.140.14.14"}, // adblock
| ^
In file included from server.c:19:
fdns.h:164:8: note: ‘website’ declared here
164 | char *website; // website
| ^~~~~~~
server.c:37:2: error: missing initializer for field ‘website’ of ‘DnsServer’ {aka ‘struct dnsserver_t’} [-Werror=missing-field-initializers]
37 | { NULL, 0, "cleanbrowsing", "185.228.168.9"}, // security
| ^
In file included from server.c:19:
fdns.h:164:8: note: ‘website’ declared here
164 | char *website; // website
| ^~~~~~~
server.c:38:2: error: missing initializer for field ‘website’ of ‘DnsServer’ {aka ‘struct dnsserver_t’} [-Werror=missing-field-initializers]
38 | { NULL, 0, "cloudflare", "1.1.1.2"}, // security
| ^
In file included from server.c:19:
fdns.h:164:8: note: ‘website’ declared here
164 | char *website; // website
| ^~~~~~~
server.c:39:2: error: missing initializer for field ‘website’ of ‘DnsServer’ {aka ‘struct dnsserver_t’} [-Werror=missing-field-initializers]
39 | { NULL, 0, "nextdns", "45.90.28.141" }, // security
| ^
In file included from server.c:19:
fdns.h:164:8: note: ‘website’ declared here
164 | char *website; // website
| ^~~~~~~
server.c:40:2: error: missing initializer for field ‘website’ of ‘DnsServer’ {aka ‘struct dnsserver_t’} [-Werror=missing-field-initializers]
40 | { NULL, 0, "quad9", "9.9.9.9"} // security
| ^
In file included from server.c:19:
fdns.h:164:8: note: ‘website’ declared here
164 | char *website; // website
| ^~~~~~~
cc1: all warnings being treated as errors
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: