Comments (4)
The problem has been fixed by #129
from usrsctp.
/Users/weinrank/Documents/GitHub/usrsctp/usrsctplib/netinet6/sctp6_usrreq.c:712:7: error: 'OSAtomicCompareAndSwapIntBarrier' is deprecated: first deprecated in macOS 10.12 - Use atomic_compare_exchange_strong() from <stdatomic.h> instead [-Werror,-Wdeprecated-declarations](atomic_cmpset_int%28&inp->sctp_flags, flags, %28flags | SCTP_PCB_FLAGS_SOCKET_GONE | SCTP_PCB_FLAGS_CLOSE_IP%29%29)) {
^
/Users/weinrank/Documents/GitHub/usrsctp/usrsctplib/user_atomic.h:57:42: note: expanded from macro 'atomic_cmpset_int'
#define atomic_cmpset_int(dst, exp, src) OSAtomicCompareAndSwapIntBarrier(exp, src, (int _)dst)
^
/usr/include/libkern/OSAtomicDeprecated.h:580:6: note: 'OSAtomicCompareAndSwapIntBarrier' has been explicitly marked deprecated here
bool OSAtomicCompareAndSwapIntBarrier( int __oldValue, int __newValue, volatile int *__theValue );
^
/Users/weinrank/Documents/GitHub/usrsctp/usrsctplib/netinet6/sctp6_usrreq.c:1265:3: error: 'OSAtomicAdd32Barrier' is deprecated: first deprecated in macOS 10.12 - Use atomic_fetch_add() from <stdatomic.h> instead [-Werror,-Wdeprecated-declarations]
SCTP_INP_INCR_REF(inp);
^
/Users/weinrank/Documents/GitHub/usrsctp/usrsctplib/netinet/sctp_process_lock.h:371:33: note: expanded from macro 'SCTP_INP_INCR_REF'
#define SCTP_INP_INCR_REF(_inp) atomic_add_int(&((_inp)->refcount), 1)
^
/Users/weinrank/Documents/GitHub/usrsctp/usrsctplib/user_atomic.h:54:35: note: expanded from macro 'atomic_add_int'
#define atomic_add_int(addr, val) OSAtomicAdd32Barrier(val, (int32_t *)addr)
^
/usr/include/libkern/OSAtomicDeprecated.h:161:9: note: 'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
^
/Users/weinrank/Documents/GitHub/usrsctp/usrsctplib/netinet6/sctp6_usrreq.c:1270:4: error: 'OSAtomicAdd32Barrier' is deprecated: first deprecated in macOS 10.12 - Use atomic_fetch_add() from <stdatomic.h> instead [-Werror,-Wdeprecated-declarations]
SCTP_INP_DECR_REF(inp);
^
/Users/weinrank/Documents/GitHub/usrsctp/usrsctplib/netinet/sctp_process_lock.h:372:33: note: expanded from macro 'SCTP_INP_DECR_REF'
#define SCTP_INP_DECR_REF(_inp) atomic_add_int(&((inp)->refcount), -1)
^
/Users/weinrank/Documents/GitHub/usrsctp/usrsctplib/user_atomic.h:54:35: note: expanded from macro 'atomic_add_int'
#define atomic_add_int(addr, val) OSAtomicAdd32Barrier(val, (int32_t *)addr)
^
/usr/include/libkern/OSAtomicDeprecated.h:161:9: note: 'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
^
3 errors generated.
make[2]: ** [usrsctplib/CMakeFiles/usrsctp-static.dir/netinet6/sctp6_usrreq.c.o] Error 1
make[1]: *** [usrsctplib/CMakeFiles/usrsctp-static.dir/all] Error 2
make: *** [all] Error 2
from usrsctp.
(dumped contents of the file, what's the point of uploading it as such? :D)
from usrsctp.
I fix same problem
see:
http://stackoverflow.com/a/41909455/4828657
cloudflare/cfssl@4866911
from usrsctp.
Related Issues (20)
- Is usrsctp_conninput threadsafe? HOT 2
- Deadlock: usrsctp_conninput and user_sctp_timer_iterate HOT 3
- On SCTP_NOTIFY_ASSOC_DOWN, the receive callback (recv_callback) gets called with zero information HOT 4
- Suddenly, the unsent data size becomes zero. Why? HOT 15
- How to port to a new platform? HOT 2
- SCTP multihoming: Source address selection based on destination route entry
- High CPU Load durring datatransfer HOT 2
- pkg-config file is broken when CMAKE_INSTALL_{INCLUDE,LIB}DIR is absolute
- WiFI issue
- TRASHIT() macro should set pointer to NULL in usrsctplib/user_queue.h HOT 1
- No netinet6/ip6protosw.h on FreeBSD 14 HOT 1
- How to sent each chunks immediately when it is available in the server
- What the meaning of xxx_upcall?
- sample program echo_server response abort message HOT 3
- building fails at warning about parentheses: HOT 7
- CVE-2022-46871 impact on libusrsctp HOT 1
- Aborted with sctp_timeout_handler: tmr->self corrupted, but tmr->self is null in the core dump HOT 6
- Aborted with sodealloc(): so_count -58769387 -- suspected use-after-free in sctp_timeout_handler HOT 2
- Broken build on macOS 13.4 (apple sillicon) HOT 1
- What does usrsctp_conninput do? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from usrsctp.