kristapsdz / kcgi

minimal CGI and FastCGI library for C/C++
https://kristaps.bsd.lv/kcgi
ISC License
275 stars 40 forks source link

Self-fulfill deffinition/header requriements #102

Closed ghost closed 2 years ago

ghost commented 2 years ago

When using this tool, one should not have to go around the world to satisfy all the header requirements of your code; in your example, you pre-include <sys/types.h>, , , and to fulfill the definitions used by your own header rather than to fulfill the definition requirements of the end-program: these belong (possibly along with some processor code for C/C++ interoperability) at the top of rather than as a constant part of the user's code because you use them as opposed to the end user using them.

kristapsdz commented 2 years ago

Eh.

ghost commented 1 year ago

Because you closed this without fixing your problem, I'm going to build my own Fast CGI Application Interface instead of using yours. However, because I'm a nice guy, I've attached the 12 page error log your code produces due to the issue.

Have a nice day! err.log