Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflicting definition of types for curl project #629

Open
IDKWNTCMF opened this issue Aug 31, 2023 · 0 comments
Open

Conflicting definition of types for curl project #629

IDKWNTCMF opened this issue Aug 31, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@IDKWNTCMF
Copy link
Collaborator

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 IDKWNTCMF added the bug Something isn't working label Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant