diff options
author | John-Mark Bell <jmb@netsurf-browser.org> | 2022-06-02 23:33:20 +0100 |
---|---|---|
committer | John-Mark Bell <jmb@netsurf-browser.org> | 2022-06-02 23:33:20 +0100 |
commit | 294770f746d4bf95d04d8dce39ed05a03b2b0b29 (patch) | |
tree | 243991faf3b56d71c5631680deeb710d5d4a8120 /.cvsignore | |
parent | a25da61adc32f94cd304d6465cb1423723b31564 (diff) | |
download | librufl-294770f746d4bf95d04d8dce39ed05a03b2b0b29.tar.gz librufl-294770f746d4bf95d04d8dce39ed05a03b2b0b29.tar.bz2 |
Modernize logging
Ensure that only one copy of the storage for the log state is
needed (previously, it injected these into every compilation unit,
which now results in compiler warnings).
Replace __PRETTY_FUNCTION__ with the standardised __func__. The
output is the same in either case in our usage here (and testing
all the way back to GCC 3.4.6 yields no difference in output).
This also fixes compilation with GCC 10 (which warns about the
use of __PRETTY_FUNCTION__ in -pedantic mode).
Diffstat (limited to '.cvsignore')
0 files changed, 0 insertions, 0 deletions