Hello and welcome, everybody.
In this lecture, we're just going to do a bit of cleanup.
So if you do a make clean and a make, you'll see all of these nasty warnings and stuff like that.
We're just going to essentially just clean this up a little bit.
Okay.
So if we scroll to the top, we'll work from the top downwards so you can see the handle upward stack.
We haven't implemented that yet, so we'll keep that warning.
You can see on line six, eight, six, we say remember to calculate scope off sets.
Well, we've already done that.
So I'm going to go to six, eight, six, and I'm going to remove that warning because we've already
calculated the scope offsets.
Now
we see implicit declaration of past bodies.
So let's search for paths body and we're going to copy and paste the prototype.
We're just going to put it all the way at the top.
Just put it all the way at the top, and then that way then it can always be seen by every function
in the file.
Right?
What else do we have?
We have an implicit declaration of pause, key words.
So we're going to do the same for that look for parsed keyword.
I was just going to put the prototype all the way at the top of the file.
It just guarantees that we'll always be able to resolve it, right?
That's to make clean again and then to make and see if it's gone.
Okay.
So we see a conflicting type.
Okay.
Because history isn't declared.
Okay.
So what we need to do.
Copy and paste these.
But they need to be underneath the actual struct history, just like that.
And then that way, then, in fact, I would even put them by here.
Right.
With the others that we've done.
Okay.
So in that way, they have access to all the structures above them.
So if we then did a make clean and a make.
Can then see that that compiles just fine coal.
So check the warnings again.
Don't forget to adjust the function stack size.
Yeah, well, we haven't made functions yet, so that's still needs to be done.
And remember to implement unions.
Okay, so the cleanup is pretty much dumb.
It was a nice, simple lecture.
I just wanted to clean up the code base a little bit, get rid of a few of those compiler warnings.
Okay.
All right.
Thank you for watching.