logological / gpp

GPP, a generic preprocessor
https://logological.org/gpp
GNU Lesser General Public License v3.0
197 stars 31 forks source link

Fixes #33 plus two things. #34

Closed Coding-Badly closed 5 years ago

Coding-Badly commented 5 years ago

Fixes #33. And...

Even with ! HAVE_FNMATCH_H there is a reference to fnmatch. The reference causes a link error when building under stock Visual Studio 2017. This update fixes the problem.

Quotes are used to include files (config.h) from the same directory as the source file (gpp.c). This update changes the include for config.h to reflect the fact that the include file is expected to be in the same directory.

logological commented 5 years ago

config.h.in is an automatically generated file. It does not belong in the source repository, and so does belong in .gitignore. Please refer to this Stack Overflow answer for further details.

As mentioned in Issue #33, could you please try building from the source distribution (not the repository)? If there are any outstanding build issues that your pull request fixes, then perhaps we could isolate and merge these.

logological commented 5 years ago

Closing; see comments to Issue #33.