GHC.ResponseFile infelicities
@watashi pointed out some issues with the current implementation of GHC.ResponseFile
on #16476 (closed):
There are current some incompatibilities with gcc on
@file
, some are important if it's used in general:
- empty (
""
) arguments are not handled@file
s are not expanded recursivelysome are debatable:
- if file does not exist, or cannot be read, then the option will be treated literally, and not removed
- non-ascii whitespace are not delimiters
- unterminated backslash-escape is silently ignored and unmatched quote is silently closed (it's currently compatible, but may be undesired)