Hello! On Mon, May 22, 2017 at 01:14:04PM +0300, Sorin Manole wrote:
> Missed attachment. > > 2017-05-21 22:23 GMT+03:00 Sorin Manole <sorin.v.man...@gmail.com>: > > Hello, > > > > Would you be willing to accept a patch to support CXX and CXXFLAGS in > > the nginx build logic? > > This could be used to write C++ nginx module code. > > I attached a partial implementation. Please confirm if this is the > > correct approach. There are no C++ files in nginx itself except a simple test module which is to test if nginx headers are usable in C++. For this purpose current approach of simply using C compiler and C compiler flags is certainly enough. We may consider something low-intrusive to make writing C++ modules easier. The patch you've provided doesn't look low-intrusive though. Note well that if nginx build process is not enough for you, you may consider using config.make mechanism, which allows generating arbitrary make commands to be used to build your module. -- Maxim Dounin http://nginx.org/ _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel