When building the Protobuf (version 3.13.0) solution in the Microsoft Visual Studio, I noticed that a generated file
any.pb.cc is compiled _before_ the protoc executable is created. (The same is true for multiple other generated files.) -- At first sight, that dependency looks like a vicious cycle: a file that can only be generated by protoc.exe is used in building protoc.exe. If that is true, then how, for example, can one make a change to the protoc code that would somehow influence the structure of the resulting generated files? -- You need the updated
any.pb.cc file in order to build the new protoc.exe, but in order to build the latter you need the updated version of the former!