~mcf/cproc#70: 
cproc -Dfoo=bar syntax is not supported

cproc should accept getopt-style arguments in this syntax.

Status
RESOLVED INVALID
Submitter
~sircmpwn
Assigned to
No-one
Submitted
2 months ago
Updated
2 months ago
Labels
No labels applied.

~mcf 2 months ago

I'm not sure what you mean by getopt-style arguments. The cproc driver does indeed support both -Dfoo=bar and -D foo=bar, and passes them on to the preprocessor.

~sircmpwn 2 months ago

!resolve invalid

My mistake, I must have a different bug.

~mcf 2 months ago

I'm guessing you had some other flag that was not supported. I've run into this occasionally, too, since cproc didn't make it clear which option was problematic. C compilers are typically passed a lot of options, which makes it difficult to figure it out by inspecting the full command.

I pushed a commit that should help with this.

~mcf REPORTED INVALID 2 months ago

Register here or Log in to comment, or comment via email.