make[2]: Entering directory '/cygdrive/g/mypetsc/petsc-3.24.1' ========================================== See documentation/faq.html and documentation/bugreporting.html for help with installation problems. Please send EVERYTHING printed out below when reporting problems. Please check the mailing list archives and consider subscribing. https://petsc.org/release/community/mailing/ ========================================== Starting make run on A7X9FEL07R112FT at Fri, 14 Nov 2025 20:06:25 +0800 Machine characteristics: CYGWIN_NT-10.0-18363 A7X9FEL07R112FT 3.5.4-1.x86_64 2024-08-25 16:52 UTC x86_64 Cygwin ----------------------------------------- Using PETSc directory: /cygdrive/g/mypetsc/petsc-3.24.1 Using PETSc arch: arch-mswin-c-opt ----------------------------------------- PETSC_VERSION_RELEASE 1 PETSC_VERSION_MAJOR 3 PETSC_VERSION_MINOR 24 PETSC_VERSION_SUBMINOR 1 PETSC_VERSION_DATE "Oct 29, 2025" PETSC_VERSION_GIT "v3.24.1" PETSC_VERSION_DATE_GIT "2025-10-29 13:15:15 -0500" ----------------------------------------- Using configure Options: --with-debugging=0 --with-cc=win32fe_cl --with-fc=0 --with-cxx=win32fe_cl --download-f2cblaslapack=/cygdrive/g/mypetsc/f2cblaslapack-3.8.0.q2.tar.gz --with-mpi-include="[/cygdrive/g/MSmpi/MicrosoftSDKs/Include,/cygdrive/g/MSmpi/MicrosoftSDKs/Include/x64]" --with-mpi-lib="[/cygdrive/g/MSmpi/MicrosoftSDKs/Lib/x64/msmpifec.lib,/cygdrive/g/MSmpi/MicrosoftSDKs/Lib/x64/msmpi.lib]" --with-mpiexec=/cygdrive/g/MSmpi/MicrosoftMPI/Bin/mpiexec --download-metis=/cygdrive/g/mypetsc/petsc-pkg-metis-69fb26dd0428.tar.gz --download-parmetis=/cygdrive/g/mypetsc/petsc-pkg-parmetis-f5e3aab04fd5.tar.gz --with-strict-petscerrorcode=0 --with-64-bit-indices -CFLAGS="-O2 -MD -wd4996" -CXXFLAGS="-O2 -MD -wd4996" Using configuration flags: #define PETSC_ARCH "arch-mswin-c-opt" #define PETSC_ATTRIBUTEALIGNED(size) #define PETSC_BLASLAPACK_UNDERSCORE 1 #define PETSC_CANNOT_START_DEBUGGER 1 #define PETSC_CLANGUAGE_C 1 #define PETSC_CXX_RESTRICT __restrict #define PETSC_DEPRECATED_ENUM_BASE(string_literal_why) #define PETSC_DEPRECATED_FUNCTION_BASE(string_literal_why) __declspec(deprecated(string_literal_why)) #define PETSC_DEPRECATED_MACRO_BASE(string_literal_why) PETSC_DEPRECATED_MACRO_BASE_(GCC warning string_literal_why) #define PETSC_DEPRECATED_MACRO_BASE_(why) _Pragma(#why) #define PETSC_DEPRECATED_OBJECT_BASE(string_literal_why) __declspec(deprecated(string_literal_why)) #define PETSC_DEPRECATED_TYPEDEF_BASE(string_literal_why) #define PETSC_DIR "G:\\mypetsc\\petsc-3.24.1" #define PETSC_DIR_SEPARATOR '\\' #define PETSC_FUNCTION_NAME_C __func__ #define PETSC_FUNCTION_NAME_CXX __func__ #define PETSC_HAVE_ACCESS 1 #define PETSC_HAVE_ATOLL 1 #define PETSC_HAVE_CLOCK 1 #define PETSC_HAVE_CLOSESOCKET 1 #define PETSC_HAVE_CXX 1 #define PETSC_HAVE_CXX_COMPLEX 1 #define PETSC_HAVE_CXX_COMPLEX_FIX 1 #define PETSC_HAVE_CXX_DIALECT_CXX11 1 #define PETSC_HAVE_CXX_DIALECT_CXX14 1 #define PETSC_HAVE_CXX_DIALECT_CXX17 1 #define PETSC_HAVE_CXX_DIALECT_CXX20 1 #define PETSC_HAVE_DIRECT_H 1 #define PETSC_HAVE_DOS_H 1 #define PETSC_HAVE_DOUBLE_ALIGN_MALLOC 1 #define PETSC_HAVE_ERF 1 #define PETSC_HAVE_F2CBLASLAPACK 1 #define PETSC_HAVE_FCNTL_H 1 #define PETSC_HAVE_FENV_H 1 #define PETSC_HAVE_FE_VALUES 1 #define PETSC_HAVE_FLOAT_H 1 #define PETSC_HAVE_FREELIBRARY 1 #define PETSC_HAVE_GETCOMPUTERNAME 1 #define PETSC_HAVE_GETCWD 1 #define PETSC_HAVE_GETLASTERROR 1 #define PETSC_HAVE_GETPROCADDRESS 1 #define PETSC_HAVE_GET_USER_NAME 1 #define PETSC_HAVE_IMMINTRIN_H 1 #define PETSC_HAVE_INTTYPES_H 1 #define PETSC_HAVE_IO_H 1 #define PETSC_HAVE_ISINF 1 #define PETSC_HAVE_ISNAN 1 #define PETSC_HAVE_ISNORMAL 1 #define PETSC_HAVE_LARGE_INTEGER_U 1 #define PETSC_HAVE_LGAMMA 1 #define PETSC_HAVE_LOADLIBRARY 1 #define PETSC_HAVE_LOG2 1 #define PETSC_HAVE_LSEEK 1 #define PETSC_HAVE_MALLOC_H 1 #define PETSC_HAVE_MEMMOVE 1 #define PETSC_HAVE_METIS 1 #define PETSC_HAVE_MPI_COMBINER_CONTIGUOUS 1 #define PETSC_HAVE_MPI_COMBINER_DUP 1 #define PETSC_HAVE_MPI_COMBINER_NAMED 1 #define PETSC_HAVE_MPI_COUNT 1 #define PETSC_HAVE_MPI_F90MODULE_VISIBILITY 1 #define PETSC_HAVE_MPI_FEATURE_DYNAMIC_WINDOW 1 #define PETSC_HAVE_MPI_GET_ACCUMULATE 1 #define PETSC_HAVE_MPI_GET_LIBRARY_VERSION 1 #define PETSC_HAVE_MPI_INIT_THREAD 1 #define PETSC_HAVE_MPI_INT64_T 1 #define PETSC_HAVE_MPI_LONG_DOUBLE 1 #define PETSC_HAVE_MPI_NONBLOCKING_COLLECTIVES 1 #define PETSC_HAVE_MPI_PROCESS_SHARED_MEMORY 1 #define PETSC_HAVE_MPI_REDUCE_LOCAL 1 #define PETSC_HAVE_MPI_REDUCE_SCATTER_BLOCK 1 #define PETSC_HAVE_MPI_RGET 1 #define PETSC_HAVE_MPI_WIN_CREATE 1 #define PETSC_HAVE_MSMPI 1 #define PETSC_HAVE_MSMPI_VERSION 0x100 #define PETSC_HAVE_O_BINARY 1 #define PETSC_HAVE_PACKAGES ":blaslapack:f2cblaslapack:mathlib:metis:mpi:parmetis:" #define PETSC_HAVE_PARMETIS 1 #define PETSC_HAVE_RAND 1 #define PETSC_HAVE_SETJMP_H 1 #define PETSC_HAVE_SETLASTERROR 1 #define PETSC_HAVE_STDINT_H 1 #define PETSC_HAVE_STRICMP 1 #define PETSC_HAVE_SYS_TYPES_H 1 #define PETSC_HAVE_TAU_PERFSTUBS 1 #define PETSC_HAVE_TGAMMA 1 #define PETSC_HAVE_TIME 1 #define PETSC_HAVE_TIME_H 1 #define PETSC_HAVE_TMPNAM_S 1 #define PETSC_HAVE_VA_COPY 1 #define PETSC_HAVE_VSNPRINTF 1 #define PETSC_HAVE_WINDOWSX_H 1 #define PETSC_HAVE_WINDOWS_COMPILERS 1 #define PETSC_HAVE_WINDOWS_H 1 #define PETSC_HAVE_WINSOCK2_H 1 #define PETSC_HAVE_WS2TCPIP_H 1 #define PETSC_HAVE_WSAGETLASTERROR 1 #define PETSC_HAVE_XMMINTRIN_H 1 #define PETSC_HAVE__ACCESS 1 #define PETSC_HAVE__GETCWD 1 #define PETSC_HAVE__LSEEK 1 #define PETSC_HAVE__MKDIR 1 #define PETSC_HAVE__SLEEP 1 #define PETSC_HAVE___INT64 1 #define PETSC_INTPTR_T intptr_t #define PETSC_INTPTR_T_FMT "#" PRIxPTR #define PETSC_IS_COLORING_MAX USHRT_MAX #define PETSC_IS_COLORING_VALUE_TYPE short #define PETSC_IS_COLORING_VALUE_TYPE_F integer2 #define PETSC_LEVEL1_DCACHE_LINESIZE 32 #define PETSC_LIB_DIR "/cygdrive/g/mypetsc/petsc-3.24.1/arch-mswin-c-opt/lib" #define PETSC_LIB_NAME_SUFFIX "" #define PETSC_MAX_PATH_LEN 4096 #define PETSC_MEMALIGN 16 #define PETSC_MISSING_GETLINE 1 #define PETSC_MISSING_LAPACK_lsame 1 #define PETSC_MISSING_SIGALRM 1 #define PETSC_MISSING_SIGBUS 1 #define PETSC_MISSING_SIGCHLD 1 #define PETSC_MISSING_SIGCONT 1 #define PETSC_MISSING_SIGHUP 1 #define PETSC_MISSING_SIGKILL 1 #define PETSC_MISSING_SIGPIPE 1 #define PETSC_MISSING_SIGQUIT 1 #define PETSC_MISSING_SIGSTOP 1 #define PETSC_MISSING_SIGSYS 1 #define PETSC_MISSING_SIGTRAP 1 #define PETSC_MISSING_SIGTSTP 1 #define PETSC_MISSING_SIGURG 1 #define PETSC_MISSING_SIGUSR1 1 #define PETSC_MISSING_SIGUSR2 1 #define PETSC_MPICC_SHOW "Unavailable" #define PETSC_MPIU_IS_COLORING_VALUE_TYPE MPI_UNSIGNED_SHORT #define PETSC_NEEDS_UTYPE_TYPEDEFS 1 #define PETSC_OMAKE "/usr/bin/make --no-print-directory" #define PETSC_PREFETCH_HINT_NTA _MM_HINT_NTA #define PETSC_PREFETCH_HINT_T0 _MM_HINT_T0 #define PETSC_PREFETCH_HINT_T1 _MM_HINT_T1 #define PETSC_PREFETCH_HINT_T2 _MM_HINT_T2 #define PETSC_PYTHON_EXE "/usr/bin/python3" #define PETSC_Prefetch(a,b,c) _mm_prefetch((const char*)(a),(c)) #define PETSC_REPLACE_DIR_SEPARATOR '/' #define PETSC_SIGNAL_CAST #define PETSC_SIZEOF_INT 4 #define PETSC_SIZEOF_LONG 4 #define PETSC_SIZEOF_LONG_LONG 8 #define PETSC_SIZEOF_SIZE_T 8 #define PETSC_SIZEOF_VOID_P 8 #define PETSC_SLSUFFIX "dll" #define PETSC_UINTPTR_T uintptr_t #define PETSC_UINTPTR_T_FMT "#" PRIxPTR #define PETSC_UNUSED #define PETSC_USE_64BIT_INDICES 1 #define PETSC_USE_AVX512_KERNELS 1 #define PETSC_USE_CTABLE 1 #define PETSC_USE_DMLANDAU_2D 1 #define PETSC_USE_INFO 1 #define PETSC_USE_ISATTY 1 #define PETSC_USE_LOG 1 #define PETSC_USE_MALLOC_COALESCED 1 #define PETSC_USE_MICROSOFT_TIME 1 #define PETSC_USE_PROC_FOR_SIZE 1 #define PETSC_USE_REAL_DOUBLE 1 #define PETSC_USE_SHARED_LIBRARIES 1 #define PETSC_USE_SINGLE_LIBRARY 1 #define PETSC_USE_WINDOWS_GRAPHICS 1 #define PETSC_USING_64BIT_PTR 1 #define PETSC__BSD_SOURCE 1 #define PETSC__DEFAULT_SOURCE 1 #define R_OK 04 #define S_ISDIR(a) (((a)&_S_IFMT) == _S_IFDIR) #define S_ISREG(a) (((a)&_S_IFMT) == _S_IFREG) #define W_OK 02 #define X_OK 01 #define _USE_MATH_DEFINES 1 ----------------------------------------- Using C compile: /cygdrive/g/mypetsc/petsc-3.24.1/lib/petsc/bin/win32fe/win32fe_cl -o gmakeinfo -c -O2 -MD -wd4996 C compiler version: Win32 Development Tool Front End, version 1.11.4 Fri, Sep 10, 2021 6:33:40 PM Microsoft (R) C/C++ Optimizing Compiler Version 19.37.32825 for x64 Using C++ compile: /cygdrive/g/mypetsc/petsc-3.24.1/lib/petsc/bin/win32fe/win32fe_cl -o gmakeinfo -c -O2 -MD -wd4996 -std:c++20 -TP -I/cygdrive/g/mypetsc/petsc-3.24.1/include -I/cygdrive/g/mypetsc/petsc-3.24.1/arch-mswin-c-opt/include -I/cygdrive/g/MSmpi/MicrosoftSDKs/Include -I/cygdrive/g/MSmpi/MicrosoftSDKs/Include/x64 C++ compiler version: Win32 Development Tool Front End, version 1.11.4 Fri, Sep 10, 2021 6:33:40 PM Microsoft (R) C/C++ Optimizing Compiler Version 19.37.32825 for x64 ----------------------------------------- Using C/C++ linker: /cygdrive/g/mypetsc/petsc-3.24.1/lib/petsc/bin/win32fe/win32fe_cl Using C/C++ flags: -O2 -MD -wd4996 ----------------------------------------- Using system modules: Using mpi.h: #line 1 "G:\\MSmpi\\MICROS~1\\Include\\mpi.h" ----------------------------------------- Using libraries: -L/cygdrive/g/mypetsc/petsc-3.24.1/arch-mswin-c-opt/lib -lpetsc -lf2clapack -lf2cblas -lparmetis -lmetis /cygdrive/g/MSmpi/MicrosoftSDKs/Lib/x64/msmpifec.lib /cygdrive/g/MSmpi/MicrosoftSDKs/Lib/x64/msmpi.lib Gdi32.lib User32.lib Advapi32.lib Kernel32.lib Ws2_32.lib ------------------------------------------ Using mpiexec: /cygdrive/g/MSmpi/MicrosoftMPI/Bin/mpiexec ------------------------------------------ Using MAKE: /usr/bin/make Default MAKEFLAGS: MAKE_NP:24 MAKE_LOAD:32.0 MAKEFLAGS: --no-print-directory -- PETSC_DIR=/cygdrive/g/mypetsc/petsc-3.24.1 PETSC_ARCH=arch-mswin-c-opt ========================================== /usr/bin/make --print-directory -f gmakefile -j24 -l32.0 --output-sync=recurse V= libs make[3]: Entering directory '/cygdrive/g/mypetsc/petsc-3.24.1' CXX arch-mswin-c-opt/obj/src/sys/dll/cxx/demangle.o demangle.cxx G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_13_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscerror.h(1322): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscerror.h(1322): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_18_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclog.h(181): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclog.h(181): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_18_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclog.h(189): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclog.h(189): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(99): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(99): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(112): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(112): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(130): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(130): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(143): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(143): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(149): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(149): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(167): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(167): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(184): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(184): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2370: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; different storage class G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_23_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_23_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1739): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1739): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_24_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2508): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2508): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2146: syntax error: missing '}' before identifier 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2143: syntax error: missing ';' before '' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2378: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; symbol cannot be overloaded with a typedef G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2059: syntax error: '' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(145): error C2143: syntax error: missing ';' before '}' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(145): error C2059: syntax error: '}' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(161): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(167): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(173): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(179): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(179): error C2146: syntax error: missing ')' before identifier 'mask' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(180): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(180): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(197): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(197): error C2146: syntax error: missing ')' before identifier 'mask' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(198): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(198): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(382): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(382): error C2146: syntax error: missing ')' before identifier 'dest' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(383): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(383): error C2447: '{': missing function header (old-style formal list?) make[3]: *** [gmakefile:211: arch-mswin-c-opt/obj/src/sys/dll/cxx/demangle.o] Error 2 make[3]: *** Waiting for unfinished jobs.... CXX arch-mswin-c-opt/obj/src/sys/objects/cxx/object_pool.o object_pool.cxx G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_13_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscerror.h(1322): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscerror.h(1322): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_18_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclog.h(181): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclog.h(181): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_18_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclog.h(189): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclog.h(189): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(99): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(99): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(112): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(112): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(130): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(130): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(143): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(143): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(149): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(149): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(167): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(167): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(184): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(184): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2370: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; different storage class G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_23_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_23_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1739): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1739): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_24_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2508): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2508): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2146: syntax error: missing '}' before identifier 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2143: syntax error: missing ';' before '' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2378: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; symbol cannot be overloaded with a typedef G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2059: syntax error: '' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(145): error C2143: syntax error: missing ';' before '}' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(145): error C2059: syntax error: '}' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(161): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(167): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(173): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(179): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(179): error C2146: syntax error: missing ')' before identifier 'mask' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(180): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(180): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(197): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(197): error C2146: syntax error: missing ')' before identifier 'mask' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(198): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(198): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(382): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(382): error C2146: syntax error: missing ')' before identifier 'dest' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(383): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(383): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): error C2039: 'result_of': is not a member of 'std' G:\VisualStudio2022\VC\Tools\MSVC\14.37.32822\include\exception(222): note: see declaration of 'std' G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): error C2653: 'result_of': is not a class or namespace name G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): error C2061: syntax error: identifier 'type' G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): fatal error C1003: error count exceeds 100; stopping compilation make[3]: *** [gmakefile:211: arch-mswin-c-opt/obj/src/sys/objects/cxx/object_pool.o] Error 2 CXX arch-mswin-c-opt/obj/src/sys/objects/device/impls/host/hostcontext.o hostcontext.cxx G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_13_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscerror.h(1322): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscerror.h(1322): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_18_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclog.h(181): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclog.h(181): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_18_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclog.h(189): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclog.h(189): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(99): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(99): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(112): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(112): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(130): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(130): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(143): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(143): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(149): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(149): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(167): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(167): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(184): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(184): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2370: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; different storage class G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_23_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_23_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1739): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1739): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_24_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2508): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2508): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2146: syntax error: missing '}' before identifier 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2143: syntax error: missing ';' before '' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2378: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; symbol cannot be overloaded with a typedef G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2059: syntax error: '' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(145): error C2143: syntax error: missing ';' before '}' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(145): error C2059: syntax error: '}' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(161): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(167): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(173): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(179): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(179): error C2146: syntax error: missing ')' before identifier 'mask' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(180): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(180): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(197): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(197): error C2146: syntax error: missing ')' before identifier 'mask' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(198): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(198): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(382): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(382): error C2146: syntax error: missing ')' before identifier 'dest' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(383): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(383): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): error C2039: 'result_of': is not a member of 'std' G:\VisualStudio2022\VC\Tools\MSVC\14.37.32822\include\exception(222): note: see declaration of 'std' G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): error C2653: 'result_of': is not a class or namespace name G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): error C2061: syntax error: identifier 'type' G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): fatal error C1003: error count exceeds 100; stopping compilation make[3]: *** [gmakefile:211: arch-mswin-c-opt/obj/src/sys/objects/device/impls/host/hostcontext.o] Error 2 CXX arch-mswin-c-opt/obj/src/sys/objects/device/impls/host/hostdevice.o hostdevice.cxx G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_13_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscerror.h(1322): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscerror.h(1322): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_18_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclog.h(181): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclog.h(181): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_18_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclog.h(189): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclog.h(189): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(99): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(99): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(112): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(112): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(130): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(130): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(143): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(143): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(149): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(149): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(167): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(167): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(184): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(184): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2370: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; different storage class G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_23_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_23_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1739): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1739): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_24_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2508): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2508): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2146: syntax error: missing '}' before identifier 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2143: syntax error: missing ';' before '' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2378: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; symbol cannot be overloaded with a typedef G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2059: syntax error: '' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(145): error C2143: syntax error: missing ';' before '}' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(145): error C2059: syntax error: '}' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(161): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(167): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(173): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(179): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(179): error C2146: syntax error: missing ')' before identifier 'mask' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(180): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(180): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(197): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(197): error C2146: syntax error: missing ')' before identifier 'mask' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(198): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(198): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(382): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(382): error C2146: syntax error: missing ')' before identifier 'dest' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(383): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(383): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscviewer.h(183): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscviewer.h(183): error C2370: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; different storage class G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscviewer.h(183): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_7_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscviewer.h(183): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscviewer.h(183): fatal error C1003: error count exceeds 100; stopping compilation make[3]: *** [gmakefile:211: arch-mswin-c-opt/obj/src/sys/objects/device/impls/host/hostdevice.o] Error 2 CXX arch-mswin-c-opt/obj/src/sys/objects/device/interface/dcontext.o dcontext.cxx G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_13_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscerror.h(1322): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscerror.h(1322): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_18_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclog.h(181): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclog.h(181): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_18_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclog.h(189): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclog.h(189): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(99): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(99): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(112): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(112): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(130): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(130): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(143): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(143): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(149): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(149): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(167): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(167): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(184): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(184): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2370: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; different storage class G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_23_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_23_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1739): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1739): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_24_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2508): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2508): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2146: syntax error: missing '}' before identifier 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2143: syntax error: missing ';' before '' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2378: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; symbol cannot be overloaded with a typedef G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2059: syntax error: '' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(145): error C2143: syntax error: missing ';' before '}' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(145): error C2059: syntax error: '}' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(161): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(167): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(173): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(179): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(179): error C2146: syntax error: missing ')' before identifier 'mask' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(180): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(180): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(197): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(197): error C2146: syntax error: missing ')' before identifier 'mask' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(198): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(198): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(382): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(382): error C2146: syntax error: missing ')' before identifier 'dest' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(383): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(383): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): error C2039: 'result_of': is not a member of 'std' G:\VisualStudio2022\VC\Tools\MSVC\14.37.32822\include\exception(222): note: see declaration of 'std' G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): error C2653: 'result_of': is not a class or namespace name G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): error C2061: syntax error: identifier 'type' G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): fatal error C1003: error count exceeds 100; stopping compilation make[3]: *** [gmakefile:211: arch-mswin-c-opt/obj/src/sys/objects/device/interface/dcontext.o] Error 2 CXX arch-mswin-c-opt/obj/src/sys/objects/device/interface/device.o device.cxx G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_13_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscerror.h(1322): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscerror.h(1322): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_18_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclog.h(181): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclog.h(181): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_18_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclog.h(189): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclog.h(189): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(99): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(99): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(112): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(112): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(130): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(130): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(143): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(143): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(149): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(149): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(167): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(167): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(184): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(184): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2370: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; different storage class G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_23_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_23_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1739): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1739): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_24_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2508): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2508): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2146: syntax error: missing '}' before identifier 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2143: syntax error: missing ';' before '' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2378: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; symbol cannot be overloaded with a typedef G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2059: syntax error: '' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(145): error C2143: syntax error: missing ';' before '}' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(145): error C2059: syntax error: '}' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(161): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(167): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(173): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(179): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(179): error C2146: syntax error: missing ')' before identifier 'mask' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(180): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(180): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(197): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(197): error C2146: syntax error: missing ')' before identifier 'mask' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(198): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(198): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(382): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(382): error C2146: syntax error: missing ')' before identifier 'dest' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(383): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(383): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): error C2039: 'result_of': is not a member of 'std' G:\VisualStudio2022\VC\Tools\MSVC\14.37.32822\include\exception(222): note: see declaration of 'std' G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): error C2653: 'result_of': is not a class or namespace name G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): error C2061: syntax error: identifier 'type' G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): fatal error C1003: error count exceeds 100; stopping compilation make[3]: *** [gmakefile:211: arch-mswin-c-opt/obj/src/sys/objects/device/interface/device.o] Error 2 CXX arch-mswin-c-opt/obj/src/sys/objects/device/interface/global_dcontext.o global_dcontext.cxx G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_13_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscerror.h(1322): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscerror.h(1322): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_18_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclog.h(180): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclog.h(181): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclog.h(181): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_18_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclog.h(188): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclog.h(189): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclog.h(189): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(85): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(98): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(99): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(99): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(111): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(112): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(112): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(129): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(130): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(130): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(137): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(138): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(139): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(140): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(142): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(143): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(143): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(148): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(149): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(149): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(166): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(167): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(167): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_20_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(182): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(184): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petsclogdeprecated.h(184): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2370: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; different storage class G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_23_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(1734): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_23_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(1738): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1739): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscsys.h(1739): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2374: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; multiple initialization G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2065: 'PetscDefined_arg_PETSC_SILENCE_DEPRECATION_WARNINGS_3_24_0': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscsys.h(2507): error C2059: syntax error: 'constant' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2508): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscsys.h(2508): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2146: syntax error: missing '}' before identifier 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2143: syntax error: missing ';' before '' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2378: 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded': redefinition; symbol cannot be overloaded with a typedef G:\mypetsc\PETSC-~1.1\include\petscerror.h(1321): note: see declaration of 'PETSC_IF_INTERNAL_PetscDefined__take_second_expanded' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(143): error C2059: syntax error: '' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(145): error C2143: syntax error: missing ';' before '}' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(145): error C2059: syntax error: '}' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(161): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(167): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(173): error C2065: 'PETSC_OFFLOAD_KOKKOS': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(179): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(179): error C2146: syntax error: missing ')' before identifier 'mask' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(180): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(180): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(197): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(197): error C2146: syntax error: missing ')' before identifier 'mask' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(198): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(198): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(382): error C2065: 'PetscOffloadMask': undeclared identifier G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(382): error C2146: syntax error: missing ')' before identifier 'dest' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(383): error C2143: syntax error: missing ';' before '{' G:\mypetsc\PETSC-~1.1\include\petscdevicetypes.h(383): error C2447: '{': missing function header (old-style formal list?) G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): error C2039: 'result_of': is not a member of 'std' G:\VisualStudio2022\VC\Tools\MSVC\14.37.32822\include\exception(222): note: see declaration of 'std' G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): error C2653: 'result_of': is not a class or namespace name G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): error C2061: syntax error: identifier 'type' G:\mypetsc\PETSC-~1.1\include\petsc/private/cpp/type_traits.hpp(64): fatal error C1003: error count exceeds 100; stopping compilation make[3]: *** [gmakefile:211: arch-mswin-c-opt/obj/src/sys/objects/device/interface/global_dcontext.o] Error 2 make[3]: Leaving directory '/cygdrive/g/mypetsc/petsc-3.24.1' make[2]: *** [/cygdrive/g/mypetsc/petsc-3.24.1/lib/petsc/conf/rules_doc.mk:5: libs] Error 2 make[2]: Leaving directory '/cygdrive/g/mypetsc/petsc-3.24.1' **************************ERROR************************************* Error during compile, check arch-mswin-c-opt/lib/petsc/conf/make.log Send it and arch-mswin-c-opt/lib/petsc/conf/configure.log to petsc-maint@mcs.anl.gov ******************************************************************** Finishing make run at Fri, 14 Nov 2025 20:06:32 +0800