On Day 21, just as Casey started to switch over to breaking up the project to compile EXE and DLL separately, I realized that I had a serious issue with my codes. "Static functions are declared but not defined" errors are everywhere when I started to touch the #includes.
I forgot when Casey separated Win32 specific codes and Handmade Hero codes apart, but I do know that Casey declared a lot of static functions (internally static functions) throughout the code.
How did Casey do it with static functions in header files?
EDIT:
I meant to ask about declaring static functions in the header files. The functions being declared are GameUpdateAndRender() and GameGetSoundSamples().
Does it have to do with how
1 | #include "handmade.cpp" |