When I rewrite pset3's programs associated with Stanford Portable Library (SPL) on my own, they always fail to compile even though I write them out exactly the same as the original program. For example, when I write click.c
and attempt to compile it, an error is reported that window
is an unused variable, while in the original program it works just fine.
Why does this happen?