Closed xdbr closed 6 years ago
When using --include in combination with an infile in a relative directory, gpp is broken.
--include
The following simple tests can illustrate this:
While this works as expected:
echo '#file' > test.txt && echo '#file' > inc.gpp && cat test.txt && gpp --include inc.gpp test.txt #file inc.gpptest.txt
Unfortunately, this does not:
mkdir -p test/ && echo '#file' > test/test.txt && echo '#file' > inc.gpp && cat test/test.txt && gpp --include inc.gpp test/test.txt #file test/test.txt:1: error: Requested include file not found
When using
--include
in combination with an infile in a relative directory, gpp is broken.The following simple tests can illustrate this:
While this works as expected:
Unfortunately, this does not: