Dear NGINX developers,

we are using C++ dynamic modules in our NGINX based servers, while multiple 
Debian distributions have to be supported.
On older Debian distributions it is impossible to use more recent C++ standard, 
due to build defaulting to system provided clang package.

Our developers stood before decision to either create wrappers around modern 
C++ libraries which would be compliant with older standards or write the entire 
logic using obsolete featureless language.
Neither of these approaches is sustainable in terms of developers' productivity 
and long term maintenance.

Would it be possible to consider a change in dynamic modules' build system, so 
that C++ flags may be provided?
We propose a low intrusive changes concerning 3 files. The changes are 
backwards compatible: if CXX is not provided by an user, the build uses CC 
instead (as well as CFLAGS instead of CXXFLAGS).

Would you be so kind and share your opinion on those? Please find attachment 
provided bellow (the patch was created using Quilt).

Best Regards,
Patrik Mada



Je dobré vědět, že tento e-mail a přílohy jsou důvěrné. Pokud spolu jednáme o 
uzavření obchodu, vyhrazujeme si právo naše jednání kdykoli ukončit. Pro 
fanoušky právní mluvy - vylučujeme tím ustanovení občanského zákoníku o 
předsmluvní odpovědnosti. Pravidla o tom, kdo u nás a jak vystupuje za 
společnost a kdo může co a jak podepsat naleznete 
zde<https://onas.seznam.cz/cz/podpisovy-rad-cz.html>

You should know that this e-mail and its attachments are confidential. If we 
are negotiating on the conclusion of a transaction, we reserve the right to 
terminate the negotiations at any time. For fans of legalese—we hereby exclude 
the provisions of the Civil Code on pre-contractual liability. The rules about 
who and how may act for the company and what are the signing procedures can be 
found here<https://onas.seznam.cz/cz/podpisovy-rad-cz.html>.

Attachment: accept_cxx_flags.patch
Description: Binary data

_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to