includes files with ifdef resulting in multiple definitions

After some digging, it seems that there’s just something I’m not understanding in the whole process. In any case, it also seems the consensus (from responses here and what I can read elsewhere) is that using the pre-processor isn’t really the proper way to do what I want and a build system should be used.

Admittedly, it’s still a bit strange in my mind, but perhaps one day I’ll see it. Since the project is small, I guess I’ll just write a simple build script for this.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top