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

Fix error C2020: 'parms': 'struct' member redefinition #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andywolk
Copy link
Member

@andywolk andywolk commented Feb 5, 2025

No description provided.

@andywolk andywolk added the bug Something isn't working label Feb 5, 2025
@coppice-git
Copy link
Collaborator

I don't know why the Windows compiler might be complaining about this, but the suggested patch is an ugly way to deal with the problem. I'll produce something cleaner.

@coppice-git
Copy link
Collaborator

I just checked out the spandsp repo on a Windows 11 PC with Visual Studio 2022. I compile and do not see the C2020 error. Is this error with a different version of Visual Studio?

@andywolk
Copy link
Member Author

andywolk commented Feb 6, 2025

@coppice-git
This is when FreeSWITCH is compiled against SpanDSP master on Windows.
There is a branch that you can clone and try building. You will see those errors:
https://github.com/signalwire/freeswitch/commits/spandspwindows/

@andywolk
Copy link
Member Author

andywolk commented Feb 6, 2025

and yes Visual Studio 2022 is the main version to use.

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
None yet
Development

Successfully merging this pull request may close these issues.

2 participants