Get rid of '#define ERR_file_name __FILE__', which is unnecessary indirection.
(It cannot possibly help to avoid duplicate 'name of file' strings in object files because the preprocessor does not work at object file level.)
Please register or sign in to comment