CVS build failure with gcc 3.4

Chris Webb <[email protected]> Wed, 15 Dec 2004 10:42:57 +0000
Newsgroups gmane.comp.file-systems.sfs.general
Message-ID <[email protected]>
Hi. Just a quick report on building a cvs checkout from today (20041215) on
gcc 3.4. It fails in async/ as follows:-

dnsparse.C: In member function `ptr<mxlist> dnsparse::tomxlist()':
dnsparse.C:528: error: `mxes' cannot appear in a constant-expression
dnsparse.C:528: error: a function call cannot appear in a constant-expression
dnsparse.C: In member function `ptr<srvlist> dnsparse::tosrvlist()':
dnsparse.C:665: error: `recs' cannot appear in a constant-expression
dnsparse.C:665: error: a function call cannot appear in a constant-expression
dnsparse.C: In member function `ptr<txtlist> dnsparse::totxtlist()':
dnsparse.C:717: error: `txtv' cannot appear in a constant-expression
dnsparse.C:717: error: a function call cannot appear in a constant-expression

Looks like gcc has become more strict and is breaking on things it
never broke on before. :-(

Cheers,

Chris.