Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

Support per addon C++ flags (no replies)

$
0
0
I'm trying to compile my module with C++ with additional flags, more specific, -std=c++11.
I want to get my module use the standard nginx build scripts, like auto/configure, etc.
However, looks like nginx only allows C++ options on global level. So, if I specify the -std=c++11 in --with_cc_opt, other module may complain.
And it gets applied on other non-C++ files, like a .c files.

Unfortunately, nginx apply -Werror to stop on any warning, so, the build process will stop at c files with error when -std=c++11 is given.

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>