Further fix 2004/newbern
Landon and I both individually fixed it to work with clang. It appears that both work just as well but I made it so that the argv (now ll, was l) in main() is not the name of a function that is defined earlier in the file. Although Landon's fix worked this felt like a better idea especially as it seems like the argv he made was not referenced in main() but it should be.
This commit is contained in:
1 parent
fe6d6abb02
commit
e1cb96107d
2 files changed
+15
-8
No files matched your search
@@ -10,6 +10,13 @@
|
||||
make
|
||||
```
|
||||
|
||||
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) and Landon individually
|
||||
fixed this to work with clang. Cody turned the second arg to main, which clang
|
||||
requires to be a `char **`, to be not the same name as a function defined
|
||||
earlier in the code and to use that variable which `main()` used. Thank you Cody
|
||||
for your assistance!
|
||||
|
||||
|
||||
### To run:
|
||||
|
||||
```sh
|
||||
|
||||
Reference in new issue
Block a user