UTBotCpp icon indicating copy to clipboard operation
UTBotCpp copied to clipboard

Conflicting definition of types for `curl` project

Open IDKWNTCMF opened this issue 2 years ago • 0 comments

Description In C we can define a struct and a typedef with the same type name. But this won`t compile with C++ compilers.

To Reproduce Steps to reproduce the behavior:

  1. Clone curl project
  2. Select curl target and generate tests for lib/cf-h1-proxy.c file
  3. Try to run generated tests

Expected behavior Tests are supposed to be executed successfully.

Actual behavior Compilation error.

Visual proofs (screenshots, logs)

error: definition of type 'h1_tunnel_state' conflicts with typedef of the same name)

IDKWNTCMF avatar Aug 31 '23 12:08 IDKWNTCMF