diff --git a/1988/phillipps/README.md b/1988/phillipps/README.md index 7af769532..c3acf062d 100644 --- a/1988/phillipps/README.md +++ b/1988/phillipps/README.md @@ -13,7 +13,14 @@ make all -NOTE: this program will likely segfault under macOS. + +[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) fixed this for modern +systems. It did not compile with clang because it requires the second and third +args to main() to be `char **` but even before that with gcc it printed random +characters. After fixing it for clang by changing main() to call the new +function pain() (chosen because it's a paint that clang requires these args to +be `char **` :-) ) with the correct args it now works. Thank you Cody for your +assistance! ## Judges' comments diff --git a/1988/phillipps/phillipps.c b/1988/phillipps/phillipps.c index d92718a86..a271f7a26 100644 --- a/1988/phillipps/phillipps.c +++ b/1988/phillipps/phillipps.c @@ -1,50 +1,57 @@ -main(int t,char **_,char **a) +pain(t,_,a ) +char +* +a; { return! 0