"cl : command line error D8040: error creating or communicating with child process" when rebuilding a C++ project in VS2022 - what can it be?

Juan Dent 236 Reputation points
2022-08-22T19:08:57.833+00:00

I just downloaded a project from GitHub and generated a solution for it via cmake. When I try to compile it I get these 2 errors with language /std:c++latest or /std::c++20 in debug mode and x64

Q:\C++\sqlite_orm\include\sqlite_orm/sqlite_orm.h(7500,89): fatal error C1001: Internal compiler error.

        /**  
         *  Constraints a deleter to be or to yield a function pointer.  
         */  
        template<typename D>  
        concept yields_fp = requires(D d) {  
            // yielding function pointer by using the plus trick  
            {+d};  
            requires std::is_function_v<std::remove_pointer_t<decltype(+d)>>;  
        };  

  

cl : command line error D8040: error creating or communicating with child process

What could it be?

Developer technologies C++
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.