-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
When compiling C code, and make outputs error: a parameter list without types is only allowed in a function definition, it may be the following case:
- The code prototyped a function earlier, and is now (incorrectly) trying to prototype it again.
help50 could say something like, clang thinks you are declaring your function here. Are you trying to call it instead?
(This is in reference to the Short on Debugging, which suggests submitting new use cases to the help50 github repo.)
Hope this helps!
P.S. I am working on pset3; can't wait to get to the python lectures, where I can start thinking about submitting pull requests.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels