-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
zig cc
can't accept -- in args
#14837
Comments
Are you sure that's actually how clang works? I ran
|
|
Yes, clang for me shows that error message when |
I gave a bad example. What about |
Strange, I've found that actually clang for me does process the
|
Did we find a bug in clang? |
I dunno, seems like it 🤷 |
This is not demonstrated to be a bug yet. Please improve the bug report |
Updated |
Hey, Why doesn't zigcc accept the While this isn't technically a bug, it does cause quite a lot of trouble for the rest of the community - for example, the Rust Also, clang accepts this delimiter, so if zigcc aims to be a drop-in replacement for clang, it really is a bug. Seeing as you already wrote the pull request that fixes this, maybe we can just get that one merged and be over with this? Thanks |
Zig Version
0.11.0-dev.1898+36d47dd19
Steps to Reproduce and Observed Behavior
Expected Behavior
It should parse like clang. args after
--
are not flags.The text was updated successfully, but these errors were encountered: