Thank you for your response. I do see the path of VS2022 V17.4.4 being used
but not quite sure if it's picking up the change related to the standard I
did in scripts. I should have posted the excerpts of output as well. Sorry
about that.

$ ./build.sh -c -v
....
cl -Foplerror.obj -c       -W3 -nologo -GF -Gy -FS -MD -GT -O2   -UDEBUG
-U_DEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"
-DNDEBUG=1 -DXP_PC=1 -DWIN32=1 -D_CRT_SECURE_NO_WARNINGS=1
-D_CRT_NONSTDC_NO_WARNINGS=1 -DWINNT=1 -D_AMD64_=1 -DFORCE_PR_LOG
-I../../../dist/include/nspr
 
"/d/apps/NSS_prereq/NSS/nss-3.88/nspr/Release/lib/libc/src/../../../../lib/libc/src/plerror.c"
plerror.c

...
[256/1248] ninja -t msvc -e environment.x64 --
"c:\apps\MVS174\VC\Tools\MSVC\14.34.31933\bin\Hostx64\x64\cl.exe" /nologo
/showIncludes /FC @obj\gtests\google_test\gtest\src\gtest.gtest-all.obj.rsp
/c ..\..\gtests\google_test\gtest\src\gtest-all.cc
/Foobj\gtests\google_test\gtest\src\gtest.gtest-all.obj
/Fdobj\gtests\google_test\gtest.cc.pdb

Thanks.

On Wed, Apr 26, 2023 at 9:14 PM Martin Thomson <m...@mozilla.com> wrote:

> 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/CABrHGU-_EpwZ7OS1-rD3afwLOCX572fmUXwc5JK3JVoDWHfTjg%40mail.gmail.com.

Reply via email to