Steps to reproduce the behavior.
[379/389] Building CXX object CMakeFiles/demo_test.dir/tests/units/DemoTest.cpp.obj
In file included from E:/Projects/aregtech/areg-sdk/framework/areg/base/GEGlobal.h:58,
from E:/Projects/aregtech/areg-sdk/tests/units/DemoTest.cpp:2:
E:/Projects/aregtech/areg-sdk/framework/areg/base/GESwitches.h:131:139: note: '#pragma message: WARNING: None of preprocessor defines are set. By default sets EXP_AREG_DLL. See GESwitches.h file of AREG API Core'
131 | #pragma message ("WARNING: None of preprocessor defines are set. By default sets EXP_AREG_DLL. See GESwitches.h file of AREG API Core")
| ^
[380/389] Building CXX object thirdparty/googletest/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.obj
FAILED: thirdparty/googletest/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.obj
D:\cygwin64\bin\g++.exe -DDEBUG -DPOSIX -DUNICODE -IE:/Projects/aregtech/areg-sdk/framework -IE:/Projects/aregtech/areg-sdk/thirdparty -IE:/Projects/aregtech/areg-sdk/examples/13_pubmesh -IE:/Projects/aregtech/areg-sdk/examples/08_service -IE:/Projects/aregtech/areg-sdk/examples/09_svcmulti -IE:/Projects/aregtech/areg-sdk/thirdparty/googletest -IE:/Projects/aregtech/areg-sdk/tests -IE:/Projects/aregtech/areg-sdk/tests/units -isystem E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include -isystem E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest -g -Wall -Wshadow -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=0 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -O0 -g3 -pthread -Wall -c -std=c++17 -fmessage-length=0 -MMD -DENABLE_TRACES -m64 -std=c++17 -MD -MT thirdparty/googletest/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.obj -MF thirdparty\googletest\googletest\CMakeFiles\gtest_main.dir\src\gtest_main.cc.obj.d -o thirdparty/googletest/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.obj -c E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/src/gtest_main.cc
In file included from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/gtest-message.h:55,
from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/gtest-assertion-result.h:46,
from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/gtest.h:60,
from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/src/gtest_main.cc:32:
E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'int testing::internal::posix::FileNo(FILE*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(1999,40): error GCDAC0D3F: 'fileno' was not declared in this scope; did you mean 'FileNo'?
1999 | inline int FileNo(FILE* file) { return fileno(file); }
| ^~~~~~
| FileNo
E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'char* testing::internal::posix::StrDup(const char*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(2049,47): error GF304C94A: 'strdup' was not declared in this scope; did you mean 'StrDup'?
2049 | inline char* StrDup(const char* src) { return strdup(src); }
| ^~~~~~
| StrDup
E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'FILE* testing::internal::posix::FDOpen(int, const char*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(2092,56): error GEDCCDFA4: 'fdopen' was not declared in this scope; did you mean 'fopen'?
2092 | inline FILE* FDOpen(int fd, const char* mode) { return fdopen(fd, mode); }
| ^~~~~~
| fopen
[381/389] Linking CXX executable E:\Projects\aregtech\areg-sdk\product\build\gnu\windows-x86_64-debug\bin\09_svcmulti.exe
[382/389] Building CXX object thirdparty/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.obj
FAILED: thirdparty/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.obj
D:\cygwin64\bin\g++.exe -DDEBUG -DPOSIX -DUNICODE -IE:/Projects/aregtech/areg-sdk/framework -IE:/Projects/aregtech/areg-sdk/thirdparty -IE:/Projects/aregtech/areg-sdk/examples/13_pubmesh -IE:/Projects/aregtech/areg-sdk/examples/08_service -IE:/Projects/aregtech/areg-sdk/examples/09_svcmulti -IE:/Projects/aregtech/areg-sdk/thirdparty/googletest -IE:/Projects/aregtech/areg-sdk/tests -IE:/Projects/aregtech/areg-sdk/tests/units -isystem E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include -isystem E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock -isystem E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include -isystem E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest -g -Wall -Wshadow -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=0 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -O0 -g3 -pthread -Wall -c -std=c++17 -fmessage-length=0 -MMD -DENABLE_TRACES -m64 -std=c++17 -MD -MT thirdparty/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.obj -MF thirdparty\googletest\googlemock\CMakeFiles\gmock_main.dir\src\gmock_main.cc.obj.d -o thirdparty/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.obj -c E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/src/gmock_main.cc
In file included from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include/gmock/internal/gmock-port.h:57,
from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:49,
from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include/gmock/gmock-actions.h:145,
from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include/gmock/gmock.h:56,
from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/src/gmock_main.cc:32:
E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'int testing::internal::posix::FileNo(FILE*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(1999,40): error GCDAC0D3F: 'fileno' was not declared in this scope; did you mean 'FileNo'?
1999 | inline int FileNo(FILE* file) { return fileno(file); }
| ^~~~~~
| FileNo
E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'char* testing::internal::posix::StrDup(const char*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(2049,47): error GF304C94A: 'strdup' was not declared in this scope; did you mean 'StrDup'?
2049 | inline char* StrDup(const char* src) { return strdup(src); }
| ^~~~~~
| StrDup
E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'FILE* testing::internal::posix::FDOpen(int, const char*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(2092,56): error GEDCCDFA4: 'fdopen' was not declared in this scope; did you mean 'fopen'?
2092 | inline FILE* FDOpen(int fd, const char* mode) { return fdopen(fd, mode); }
| ^~~~~~
| fopen
[383/389] Building CXX object thirdparty/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.obj
FAILED: thirdparty/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.obj
D:\cygwin64\bin\g++.exe -DDEBUG -DPOSIX -DUNICODE -IE:/Projects/aregtech/areg-sdk/framework -IE:/Projects/aregtech/areg-sdk/thirdparty -IE:/Projects/aregtech/areg-sdk/examples/13_pubmesh -IE:/Projects/aregtech/areg-sdk/examples/08_service -IE:/Projects/aregtech/areg-sdk/examples/09_svcmulti -IE:/Projects/aregtech/areg-sdk/thirdparty/googletest -IE:/Projects/aregtech/areg-sdk/tests -IE:/Projects/aregtech/areg-sdk/tests/units -IE:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include -IE:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock -isystem E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include -isystem E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest -g -Wall -Wshadow -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=0 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -O0 -g3 -pthread -Wall -c -std=c++17 -fmessage-length=0 -MMD -DENABLE_TRACES -m64 -std=c++17 -MD -MT thirdparty/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.obj -MF thirdparty\googletest\googlemock\CMakeFiles\gmock.dir\src\gmock-all.cc.obj.d -o thirdparty/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.obj -c E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/src/gmock-all.cc
In file included from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include/gmock/internal/gmock-port.h:57,
from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:49,
from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include/gmock/gmock-actions.h:145,
from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include/gmock/gmock.h:56,
from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/src/gmock-all.cc:39:
E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'int testing::internal::posix::FileNo(FILE*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(1999,40): error GCDAC0D3F: 'fileno' was not declared in this scope; did you mean 'FileNo'?
1999 | inline int FileNo(FILE* file) { return fileno(file); }
| ^~~~~~
| FileNo
E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'char* testing::internal::posix::StrDup(const char*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(2049,47): error GF304C94A: 'strdup' was not declared in this scope; did you mean 'StrDup'?
2049 | inline char* StrDup(const char* src) { return strdup(src); }
| ^~~~~~
| StrDup
E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'FILE* testing::internal::posix::FDOpen(int, const char*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(2092,56): error GEDCCDFA4: 'fdopen' was not declared in this scope; did you mean 'fopen'?
2092 | inline FILE* FDOpen(int fd, const char* mode) { return fdopen(fd, mode); }
| ^~~~~~
| fopen
[384/389] Building CXX object thirdparty/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.obj
FAILED: thirdparty/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.obj
D:\cygwin64\bin\g++.exe -DDEBUG -DPOSIX -DUNICODE -IE:/Projects/aregtech/areg-sdk/framework -IE:/Projects/aregtech/areg-sdk/thirdparty -IE:/Projects/aregtech/areg-sdk/examples/13_pubmesh -IE:/Projects/aregtech/areg-sdk/examples/08_service -IE:/Projects/aregtech/areg-sdk/examples/09_svcmulti -IE:/Projects/aregtech/areg-sdk/thirdparty/googletest -IE:/Projects/aregtech/areg-sdk/tests -IE:/Projects/aregtech/areg-sdk/tests/units -IE:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include -IE:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest -g -Wall -Wshadow -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=0 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -O0 -g3 -pthread -Wall -c -std=c++17 -fmessage-length=0 -MMD -DENABLE_TRACES -m64 -std=c++17 -MD -MT thirdparty/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.obj -MF thirdparty\googletest\googletest\CMakeFiles\gtest.dir\src\gtest-all.cc.obj.d -o thirdparty/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.obj -c E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/src/gtest-all.cc
In file included from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/gtest-message.h:55,
from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/gtest-assertion-result.h:46,
from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/gtest.h:60,
from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/src/gtest-all.cc:38:
E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'int testing::internal::posix::FileNo(FILE*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(1999,40): error GCDAC0D3F: 'fileno' was not declared in this scope; did you mean 'FileNo'?
1999 | inline int FileNo(FILE* file) { return fileno(file); }
| ^~~~~~
| FileNo
E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'char* testing::internal::posix::StrDup(const char*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(2049,47): error GF304C94A: 'strdup' was not declared in this scope; did you mean 'StrDup'?
2049 | inline char* StrDup(const char* src) { return strdup(src); }
| ^~~~~~
| StrDup
E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'FILE* testing::internal::posix::FDOpen(int, const char*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(2092,56): error GEDCCDFA4: 'fdopen' was not declared in this scope; did you mean 'fopen'?
2092 | inline FILE* FDOpen(int fd, const char* mode) { return fdopen(fd, mode); }
| ^~~~~~
| fopen
In file included from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/src/gtest-all.cc:45:
E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/src/gtest-port.cc: In constructor 'testing::internal::CapturedStream::CapturedStream(int)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\src\gtest-port.cc(1102,31): error GB3A25D75: '::mkstemp' has not been declared; did you mean 'mkdtemp'?
1102 | const int captured_fd = ::mkstemp(const_cast<char*>(name_template.data()));
| ^~~~~~~
| mkdtemp
ninja: build stopped: subcommand failed.
Build failed.
All projects should be compiled without problems.