You should be able to run ./build.sh -v

That passes verbose options to gyp and ninja, so you should see a log that
includes where MSVC is invoked.

(FWIW, I'm not aware of any problem moving from C++ 11 to C++ 20, but that
requirement sounds a little silly to me.  In the C++ 11 transition we had
to contend with the fact that new keywords were introduced.  We would of
course be happy to take patches that fixed problems with the migration, but
that's a lot of work for you with no real upside.  The code compiled with
C++ 11 is unlikely to be better or worse than the same code compiled with
C++ 20.)

On Thu, Apr 27, 2023 at 9:23 AM Usha Nayak <usha...@gmail.com> wrote:

> Hello,
>
> We have a requirement to build all third party products using std c++20
>
> For NSS, I'm using gyp/ninja to build on Windows:
> I modified %NSS%\nss/coreconf/config.gypi -> Line#425
>             'cflags_cc': [
>               '-std=c++20',
>             ],
>
> %NSS%\nss\coreconf\command.mk -> Line#18
>            CXXSTD        = -std=c++20
>
> How do I know these settings are picked up correctly on windows ?
>
> For compiling c files, I probably won't see the std flag but I would think
> I should see incase of any cc files compilation.
>
> Any help greatly appreciated.
>
> Thank you !!
>
> --
> You received this message because you are subscribed to the Google Groups "
> dev-tech-crypto@mozilla.org" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dev-tech-crypto+unsubscr...@mozilla.org.
> To view this discussion on the web visit
> https://groups.google.com/a/mozilla.org/d/msgid/dev-tech-crypto/791ff5c2-3912-4d16-8c2c-25b2ad1ce36en%40mozilla.org
> <https://groups.google.com/a/mozilla.org/d/msgid/dev-tech-crypto/791ff5c2-3912-4d16-8c2c-25b2ad1ce36en%40mozilla.org?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"dev-tech-crypto@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dev-tech-crypto+unsubscr...@mozilla.org.
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-tech-crypto/CAPLxc%3DUL4bWBHynKVPhhaafHLSL7851dE7T7zZ4FNQDQ3OFbDQ%40mail.gmail.com.

Reply via email to