Re: errorcode.inc in tarballs
From: Philip Martin <philip_at_codematters.co.uk>
Date: Thu, 10 Aug 2017 20:29:44 +0100
Branko Čibej <brane_at_apache.org> writes:
> Would be better to generate this header at build time ... but to do that
Even that is hard, I know of no easy way for C code to convert an error
One way to convert numbers to names is to parse the C header, which on
awk '/#define\sE.*[0-9]/{printf "{%s, \"%s\"},\n", $3, $2 }' \
-- PhilipReceived on 2017-08-10 21:29:51 CEST |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.