freeswitch / spandsp

SpanDSP is a low-level signal processing library that modulates and demodulates signals commonly used in telephony, such as the "noise" generated by a fax modem or DTMF touchpad.
Other
152 stars 120 forks source link

Resolve some warnings from FreeSWITCH build #71

Closed seanbright closed 4 months ago

seanbright commented 9 months ago

When building FreeSWITCH I am running in to various problems with spandsp:

include/spandsp/v150_1.h:100:6: error: ISO C99 doesn't support unnamed structs/unions
...
include/spandsp/v150_1_sse.h:31:15: error: redefinition of typedef 'v150_1_sse_tx_packet_handler_t'
...
include/spandsp/v150_1_sse.h:33:15: error: redefinition of typedef 'v150_1_sse_status_handler_t'

I named the anonymous union payload but I'm happy to change it to something else if that is not appropriate.

Additionally add a bit of code to autogen.sh to prevent it from emitting a warning of the config directory already exists.

freeswitch-ci-system[bot] commented 9 months ago

Scan-build found bugs: https://public-artifacts.signalwire.cloud/drone/freeswitch/spandsp/67/index.html

seanbright commented 4 months ago

This PR no longer applies, so closing.