We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ c2hs external/c2hs_repo/Baz.chs -o out//Baz.hs --cpp /usr/bin/cpp -C-includeghcplatform.h -C-includeghcversion.h -C-iquote clang: error: no input files
Seems Darwin's cpp is behaving similar to the "openbsd" variant regarding the -xc vs. -x c flags:
cpp
-xc
-x c
bash-3.2$ which cpp /usr/bin/cpp bash-3.2$ cpp --version Apple clang version 13.1.6 (clang-1316.0.21.2.5) Target: arm64-apple-darwin21.4.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin bash-3.2$ cpp -x c foo.c clang: error: no input files
I guess the cppopts function could use a little update?
cppopts
c2hs/src/C2HS/Config.hs
Lines 53 to 67 in e05db30
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Seems Darwin's
cpp
is behaving similar to the "openbsd" variant regarding the-xc
vs.-x c
flags:I guess the
cppopts
function could use a little update?c2hs/src/C2HS/Config.hs
Lines 53 to 67 in e05db30
The text was updated successfully, but these errors were encountered: