Giter Site home page Giter Site logo

spacemeowx2 / switch-lan-play Goto Github PK

View Code? Open in Web Editor NEW
1.8K 46.0 186.0 3.33 MB

Enjoy games with your friends as if you were on a LAN.

License: GNU General Public License v3.0

TypeScript 0.37% CMake 0.22% C 96.75% Batchfile 0.01% Shell 0.02% HTML 0.07% Makefile 0.20% Perl 0.07% C++ 2.30% Dockerfile 0.01%
libpcap nintendoswitch switch lan-play

switch-lan-play's Introduction

switch-lan-play

Build status Chat on discord

English | 中文

Enjoy games with your friends as if you were on a LAN.

                     Internet
                        |
                  [SOCKS5 Proxy] (optional)
                        |
        ARP,IPv4        |          LAN Packets
Switch <-------->  PC(lan-play)  <-------------> Server
                                       UDP

Usage

To play with your friends, both you and your friends need to run the lan-play client connecting to the same Server on your PCs, and set static IP on your Switch.

Your PC and Switch must be connected to the same router.

Visit https://www.lan-play.com/ for instructions on how to set this up. See below for build instructions.

SOCKS5 Proxy

lan-play --socks5-server-addr example.com:1080

Data sent to the relay server does not pass through the proxy.

Build

Debug or Release

cmake -DCMAKE_BUILD_TYPE=Debug .. cmake -DCMAKE_BUILD_TYPE=Release ..

Ubuntu / Debian

This project depends on libpcap, you can install libpcap0.8-dev on Ubuntu or Debian:

sudo apt install libpcap0.8-dev git gcc g++ cmake

Prepare cmake and gcc, then run the following:

mkdir build
cd build
cmake ..
make

Windows

Use MSYS2 to compile.

pacman -Sy
pacman -S make \
    mingw-w64-x86_64-cmake \
    mingw-w64-x86_64-gcc

To compile a 32-bit program:

pacman -S mingw-w64-i686-cmake \
    mingw-w64-i686-gcc

Open MSYS2 MinGW 64-bit or MSYS2 MinGW 32-bit.

mkdir build
cd build
cmake -G "MSYS Makefiles" ..
make

Mac OS

brew install cmake
mkdir build
cd build
cmake ..
make

Server

Docker

docker run -d -p 11451:11451/udp -p 11451:11451/tcp spacemeowx2/switch-lan-play

Node

git clone https://github.com/spacemeowx2/switch-lan-play
cd switch-lan-play/server
npm install
npm run build # build ts to js. run it again when code changes.
npm start

Use --port to pass the port parameter, or it will use 11451/udp as the default.

Use --simpleAuth to pass authentication via username and password, or there will be no authentication.

Use --httpAuth to pass authentication via HTTP URL, or there will be no authentication.

Use --jsonAuth to pass authentication via JSON file, or there will be no authentication.

Example:

npm run build
npm start -- --port 10086 --simpleAuth username:password

Meanwhile, the monitor service will start on port 11451/tcp by default. You can get the online client count via an HTTP request:

Request: GET http://{YOUR_SERVER_IP}:11451/info

Response: { "online": 42 }

Protocol

The protocol is quite simple at the moment, but additional fields may be added to calculate network quality (packet loss, ping), such as timestamp, seq_id, etc.

struct packet {
    uint8_t type;
    uint8_t payload[packet_len - 1];
};
enum type {
    KEEPALIVE = 0,
    IPV4 = 1,
    PING = 2,
    IPV4_FRAG = 3
};

The server can read IP addresses from the payload and save the source IP -> LAN IP to a cache table. If the target IP address shown in the payload doesn't match the cache, the packet is broadcast to the entire room.

switch-lan-play's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

switch-lan-play's Issues

Crash if OpenVPN is working

If OpenVPN (maybe others also) is running, it creates a tun virtual tunnel. If so, lan-play crashes when trying to let you choose the network interface you want to select:

$ sudo ./lan-play 
--relay-server-addr is required
Input the relay server address [ domain/ip:port ]:lanplay.retrogamer.tech:11451
1. sit0 (No description available)
	IP: []
2. eth0 (No description available)
	IP: [XXX.XXX.XXX.XXX,]
3. tun0 (No description available)
$

If I disable OpenVPN it works.

$ sudo ./lan-play 
--relay-server-addr is required
Input the relay server address [ domain/ip:port ]:lanplay.retrogamer.tech:11451
1. sit0 (No description available)
	IP: []
2. eth0 (No description available)
	IP: [XXX.XXX.XXX,]
3. any (Pseudo-device that captures on all interfaces)
4. lo (No description available)
	IP: [127.0.0.1,]
5. wlan0 (No description available)
	IP: []
6. bluetooth0 (Bluetooth adapter number 0)
7. nflog (Linux netfilter log (NFLOG) interface)
8. nfqueue (Linux netfilter queue (NFQUEUE) interface)
9. usbmon1 (USB bus number 1)
Enter the interface number (1-9):

I compiled last versions in a Raspberry and they have this problem.

`make install` fails

Latest commit; since latest released- continuous- will fail on dependencies.
Cross-compiling for aarch64-apple-darwin17 (<-- Jail-broken iOS)
I understand the risk of compiling the latest version from the clone and this is a WIP. I know I'm rushing something that is a WIP by making this a issue.

fatal: Not a git repository (or any of the parent directories): .git
CMake Error at external/external.cmake:4 (add_subdirectory):
The source directory

/home/XXX/build/switch-lan-play-continuous/external/libuv

does not contain a CMakeLists.txt file.
Call Stack (most recent call first):
CMakeLists.txt:8 (include)

CMake Error at external/external.cmake:5 (target_include_directories):
Cannot specify include directories for target "uv_a" which is not built by
this project.
Call Stack (most recent call first):
CMakeLists.txt:8 (include)

-- Installing uvw via submodule
fatal: Not a git repository (or any of the parent directories): .git
CMake Error at external/external.cmake:10 (add_subdirectory):
The source directory

/home/XXX/build/switch-lan-play-continuous/external/uvw

does not contain a CMakeLists.txt file.
Call Stack (most recent call first):
CMakeLists.txt:8 (include)

Backlog

make DESTDIR=$PWD/x install

CMake Error at external/uvw/docs/cmake_install.cmake:31 (file):
file INSTALL cannot find
"/home/XXX/build/switch-lan-play/build/external/uvw/docs/html."
Call Stack (most recent call first):
external/uvw/cmake_install.cmake:84 (include)
cmake_install.cmake:33 (include)

This is really not a issue (Creating the file fixes it); I guess this is my request to have a CMake variable to link a currently installed libuv library like the pcap library. (-DPCAP_LIBRARY), A issue- as of now- would be installing libuv to the prefix since the static library is linked. The shared library (.dylib), headers, and the pkg-config file are being installed by commit fd32507.

readme.me

When do you plan to update your readme.me with all the necessary parameters and adjustments to have them at hand and not make mistakes?

regards

Run lan-play command on Alpine Linux

OS : Alpine Linux 3.8 x64
Library: libuv-dev, libpcap-dev
Issue:

When I run the command "lan-play" ,I got error ,

alpine:~# sh ./lan-play
./lan-play: line 1: �ELF: not found
./lan-play: line 1: : not found
./lan-play: line 1: syntax error: unexpected word (expecting ")")

Question: parameter for network card pickup?

I wanted to make both server and client to run as a daemon on my Rock64.
Is there any chance to either save network card choice or add parameter to pick the card? They do not change on your hardware very often.

Mac support?

请问MAC上能否用Charles之类的软件实现代理?

display of the server, Will there be improvements?

greetings friends, I wanted to ask if they plow an improvement in the display of the server, in the sense of being able to see who are connected and not the amount and if they implement the user request and password, for those who want to place that request to enter.

Thank you for such an excellent job and very grateful.

Getting error code 2110-3127 when running Android client, can't connect to internet

Building Android client today (17 July) using Termux + root + the script here https://gist.github.com/spacemeowx2/b2f336489ce621c9d177db0fb35940f1

The client builds and runs fine in Termux, no errors.

I can connect Switch to lan-play client on other platforms (Windows and Linux) and it works fine and I can connect to games but with the Android client I can't connect to internet (in Internet settings in Switch), it gives this DNS error. The same setup works fine otherwise, it's just not connecting with an Android relay.

Add support for Win10Pcap and KM-TEST Loopback Adapter driver

I'm using Win10Pcap alongside the Microsoft KM-TEST Loopback Adapter driver, which my Wi-Fi (my only connection with Internet access) is shared with. I cannot have a LAN connection on my PC due to not having access to my ISP's router via ethernet. lan-play.exe keeps saying "FATAL bad memory block" over and over again, and my Switch keeps failing to connect to the Internet with a DNS resolution error (I'm using Google DNS). When I install WinPcap in compatibility for Windows 7, no errors pop up on the PC side, but it doesn't appear to be doing anything, and my Switch still fails with a DNS resolution error. How can I fix this? Is there any way that I can play MHGU online with this tool?

Is not 32 bit compatible?

I tried to start it, but said "not have compatibility", I could not start it, if you have other necessary files etc, please let me know.
(sorry i use google translation)

Problem with cmake in Raspbian

With command cmake ..

pi@raspberrypi:~/switch-lan-play/build $ cmake ..
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Installing libuv via submodule
error: patch failed: src/unix/internal.h:60
error: src/unix/internal.h: patch does not apply
-- Installing uvw via submodule
*

-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Found Doxygen: /usr/local/bin/doxygen (found suitable version "1.8.16", minimum required is "1.8")
-- Found PCAP: /usr/lib/arm-linux-gnueabihf/libpcap.so
-- Configuring done
CMake Error in src/CMakeLists.txt:
Target "lan-play" requires the language dialect "CXX17" (with compiler
extensions), but CMake does not know the compile flags to use to enable it.

-- Generating done
-- Build files have been written to: /home/pi/switch-lan-play/build

And "make":

pi@raspberrypi:/switch-lan-play/build $ sudo make
Scanning dependencies of target base
[ 0%] Building C object base/CMakeFiles/base.dir/debug.c.o
[ 1%] Building C object base/CMakeFiles/base.dir/llog.c.o
[ 2%] Linking C static library libbase.a
[ 2%] Built target base
Scanning dependencies of target lwip_lib
[ 4%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/udp.c.o
[ 4%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/memp.c.o
[ 5%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/init.c.o
[ 7%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/pbuf.c.o
[ 8%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/tcp.c.o
[ 10%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/tcp_out.c.o
[ 11%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/sys.c.o
[ 12%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/netif.c.o
[ 14%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/def.c.o
[ 15%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/mem.c.o
[ 17%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/tcp_in.c.o
[ 17%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/stats.c.o
[ 18%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ip.c.o
[ 20%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/timeouts.c.o
[ 21%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/inet_chksum.c.o
[ 22%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv4/icmp.c.o
[ 24%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv4/ip4.c.o
[ 25%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv4/ip4_addr.c.o
[ 27%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv4/ip4_frag.c.o
[ 28%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv6/ip6.c.o
[ 28%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv6/nd6.c.o
[ 30%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv6/icmp6.c.o
[ 31%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv6/ip6_addr.c.o
[ 32%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv6/ip6_frag.c.o
[ 34%] Linking C static library liblwip_lib.a
[ 34%] Built target lwip_lib
Scanning dependencies of target uv_a
[ 35%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/fs-poll.c.o
[ 37%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/idna.c.o
[ 38%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/inet.c.o
[ 40%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/strscpy.c.o
[ 41%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/threadpool.c.o
[ 42%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/timer.c.o
[ 44%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/uv-common.c.o
[ 45%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/uv-data-getter-setters.c.o
[ 45%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/version.c.o
[ 47%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/async.c.o
[ 48%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/core.c.o
[ 50%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/dl.c.o
[ 51%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/fs.c.o
[ 52%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/getaddrinfo.c.o
[ 54%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/getnameinfo.c.o
[ 55%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/loop-watcher.c.o
[ 57%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/loop.c.o
[ 57%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/pipe.c.o
[ 58%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/poll.c.o
[ 60%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/process.c.o
[ 61%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/signal.c.o
[ 62%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/stream.c.o
[ 64%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/tcp.c.o
[ 65%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/thread.c.o
[ 67%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/tty.c.o
[ 68%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/udp.c.o
[ 68%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/proctitle.c.o
[ 70%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/linux-core.c.o
[ 71%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/linux-inotify.c.o
[ 72%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/linux-syscalls.c.o
[ 74%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/procfs-exepath.c.o
[ 75%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/sysinfo-loadavg.c.o
[ 77%] Building C object external/libuv/CMakeFiles/uv_a.dir/src/unix/sysinfo-memory.c.o
[ 78%] Linking C static library libuv_a.a
[ 78%] Built target uv_a
Scanning dependencies of target uv_lwip
[ 80%] Building C object uv_lwip/CMakeFiles/uv_lwip.dir/uv_lwip.c.o
[ 81%] Linking C static library libuv_lwip.a
[ 81%] Built target uv_lwip
Scanning dependencies of target lan-play
[ 82%] Building C object src/CMakeFiles/lan-play.dir/main.c.o
[ 84%] Building C object src/CMakeFiles/lan-play.dir/pcaploop.c.o
[ 85%] Building C object src/CMakeFiles/lan-play.dir/packet.c.o
[ 87%] Building C object src/CMakeFiles/lan-play.dir/arp.c.o
[ 88%] Building C object src/CMakeFiles/lan-play.dir/helper.c.o
[ 90%] Building C object src/CMakeFiles/lan-play.dir/lan-client.c.o
[ 90%] Building CXX object src/CMakeFiles/lan-play.dir/gateway.cpp.o
[ 91%] Building CXX object src/CMakeFiles/lan-play.dir/proxy_direct.cpp.o
[ 92%] Building CXX object src/CMakeFiles/lan-play.dir/proxy_socks5.cpp.o
[ 94%] Building C object src/CMakeFiles/lan-play.dir/ipv4/ipv4.c.o
[ 95%] Building C object src/CMakeFiles/lan-play.dir/ipv4/tcp.c.o
[ 97%] Building C object src/CMakeFiles/lan-play.dir/ipv4/udp.c.o
[ 98%] Building C object src/CMakeFiles/lan-play.dir/ipv4/icmp.c.o
[100%] Linking CXX executable lan-play
[100%] Built target lan-play
pi@raspberrypi:
/switch-lan-play/build $

And im not have executable file "lan-play" in build folder.

About network speed

When using Switch Lan Play, I want to know if Pcap or Lan-play is responsible for decreasing network speed

P2P server

connecting with other P2P server, and listening to localhost

May come with GUI

192.168.xx.xx instead of 10.13.xx.xx

Can you please add support for 192.168.xx.xx instead of only having 10.13.xx.xx.
My switch can not be connected to internet with settings like 10.13.xx.xx, because the modem only supports 192.168.xx.xx. And sadly it's made to only to run on 192.168.xx.xx, there is no option to swap it.

Rock64 support (stretch armhf) ?

Hello,

I have tried running the server but it doesn't work for me. Can you give me some ideas how to run it?
Installed nodejs and npm:
http://linuxbsdos.com/2017/06/26/how-to-install-node-js-lts-on-debian-9-stretch/

Log file attached:

GNU nano 2.7.4                                                           File: /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/switch-lan-play/server/npm-debug.log

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'server' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'preserver', 'server', 'postserver' ]
5 info lifecycle [email protected]~preserver: [email protected]
6 silly lifecycle [email protected]~preserver: no script for preserver, continuing
7 info lifecycle [email protected]~server: [email protected]
8 verbose lifecycle [email protected]~server: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]~server: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/srv/dev-disk-by-label-Malinka-Media/Home/sephirot/switch-lan-play/server/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/loc$
10 verbose lifecycle [email protected]~server: CWD: /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/switch-lan-play/server
11 silly lifecycle [email protected]~server: Args: [ '-c', 'node dist/udpserver.js' ]
12 silly lifecycle [email protected]~server: Returned: code: 1  signal: null
13 info lifecycle [email protected]~server: Failed to exec server script
14 verbose stack Error: [email protected] server: `node dist/udpserver.js`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at EventEmitter.emit (events.js:191:7)
14 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at ChildProcess.emit (events.js:191:7)
14 verbose stack     at maybeClose (internal/child_process.js:920:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
15 verbose pkgid [email protected]
16 verbose cwd /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/switch-lan-play/server
17 error Linux 4.4.132-1075-rockchip-ayufan-ga83beded8524
18 error argv "/usr/bin/node" "/usr/bin/npm" "run" "server"
19 error node v6.14.4
20 error npm  v3.10.10
21 error code ELIFECYCLE
22 error [email protected] server: `node dist/udpserver.js`
22 error Exit status 1
23 error Failed at the [email protected] server script 'node dist/udpserver.js'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the switch-lan-play package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     node dist/udpserver.js
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs switch-lan-play
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls switch-lan-play
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

Suggestion: Can you add a flag to just output the interfaces to the terminal and then close please?

I am improving the GUI to be able to configure a interface inside it and then launch lan play every time whit that interface, but i am getting problems getting the interfaces in the same format as lan-play uses, tcpdump for linux is okay, but windump does not work on every windows.

It would be great if there was a flag in lan play like "--showInterfaces" that just output the interfaces and closed so i can obtain them when launching it as a childProcess, i tried to get them with spawn and putting a fake server, but i was not able to catch them not in the stdout nor the stderr.

Please! and thanks and sorry for making this shameless suggestion.

Armhf rockchip singleboard (Rock64)

I have updated sources and can't compile server anymore :/
It worked earlier.
I'm using single board computer with Debian Stretch armhf (omv edition).

sephirot@Kamyk:$ git clone https://github.com/spacemeowx2/switch-lan-play.git
Cloning into 'switch-lan-play'...
remote: Enumerating objects: 12, done.
remote: Counting objects: 100% (12/12), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 1521 (delta 3), reused 7 (delta 2), pack-reused 1509
Receiving objects: 100% (1521/1521), 3.13 MiB | 2.39 MiB/s, done.
Resolving deltas: 100% (887/887), done.
sephirot@Kamyk:
$ cd switch-lan-play/server
sephirot@Kamyk:~/switch-lan-play/server$ npm run build

[email protected] build /srv/dev-disk-by-label-Malinka-Media/Home/ sephirot/switch-lan-play/server
tsc -p .

sh: 1: tsc: not found

npm ERR! Linux 4.4.132-1075-rockchip-ayufan-ga83beded8524
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "build"
npm ERR! node v6.15.1
npm ERR! npm v3.10.10
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] build: tsc -p .
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] build script 'tsc -p .'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the switch-lan-play packa ge,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! tsc -p .
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs switch-lan-play
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls switch-lan-play
npm ERR! There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to in stall?

npm ERR! Please include the following file with any support request:
npm ERR! /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/switch-lan-play/ server/npm-debug.log
sephirot@Kamyk:~/switch-lan-play/server$ sudo npm install
[sudo] password for sephirot:
[email protected] /srv/dev-disk-by-label-Malinka-Media/Home/sephirot /switch-lan-play/server
+-- @types/[email protected]
| +-- @types/[email protected]
| +-- @types/[email protected]
| | +-- @types/[email protected]
| | -- @types/[email protected] | | +-- @types/[email protected] | | +-- @types/[email protected] | | | +-- @types/[email protected] | | | -- @types/[email protected]
| | -- @types/[email protected] | | -- @types/[email protected]
| +-- @types/[email protected]
| +-- @types/[email protected]
| -- @types/[email protected] +-- @types/[email protected] +-- @types/[email protected] +-- @types/[email protected] +-- [email protected] | +-- [email protected] | | +-- [email protected] | | | -- [email protected]
| | -- [email protected] | +-- [email protected] | | -- [email protected]
| +-- [email protected]
| | -- [email protected] | +-- [email protected] | +-- [email protected] | | -- [email protected]
| +-- [email protected]
| | -- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | -- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | -- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | -- [email protected]
| +-- [email protected]
| +-- [email protected]
| | -- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | -- [email protected]
| -- [email protected] +-- [email protected] | +-- [email protected] | | -- [email protected]
| +-- [email protected]
| +-- [email protected]
| | -- [email protected] | -- [email protected]
+-- [email protected]
`-- [email protected]

npm WARN [email protected] No description
npm WARN [email protected] No repository field.
sephirot@Kamyk:~/switch-lan-play/server$ sudo npm run build

[email protected] build /srv/dev-disk-by-label-Malinka-Media/Home/ sephirot/switch-lan-play/server
tsc -p .

sephirot@Kamyk:~/switch-lan-play/server$ sudo npm run server

[email protected] server /srv/dev-disk-by-label-Malinka-Media/Home /sephirot/switch-lan-play/server
node dist/udpserver.js

/srv/dev-disk-by-label-Malinka-Media/Home/sephirot/switch-lan-play/server/node_m odules/koa2-cors/dist/index.js:24
return async function cors(ctx, next) {
^^^^^^^^

SyntaxError: Unexpected token function
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object. (/srv/dev-disk-by-label-Malinka-Media/Home/sephirot/sw itch-lan-play/server/dist/monitor.js:15:37)

npm ERR! Linux 4.4.132-1075-rockchip-ayufan-ga83beded8524
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "server"
npm ERR! node v6.15.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] server: node dist/udpserver.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] server script 'node dist/ud pserver.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the switch-lan-play packa ge,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node dist/udpserver.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs switch-lan-play
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls switch-lan-play
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/switch-lan-play/ server/npm-debug.log

/npm-debug.log

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'server' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'preserver', 'server', 'postserver' ]
5 info lifecycle [email protected]preserver: [email protected]
6 silly lifecycle [email protected]
preserver: no script for preserver, continuing
7 info lifecycle [email protected]server: [email protected]
8 verbose lifecycle [email protected]
server: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]server: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/srv/dev-disk-by-label-Malinka-Media/Home/sephirot/switch-lan-play/server/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/s$
10 verbose lifecycle [email protected]
server: CWD: /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/switch-lan-play/server
11 silly lifecycle [email protected]server: Args: [ '-c', 'node dist/udpserver.js' ]
12 silly lifecycle [email protected]
server: Returned: code: 1 signal: null
13 info lifecycle [email protected]~server: Failed to exec server script
14 verbose stack Error: [email protected] server: node dist/udpserver.js
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:920:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
15 verbose pkgid [email protected]
16 verbose cwd /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/switch-lan-play/server
17 error Linux 4.4.132-1075-rockchip-ayufan-ga83beded8524
18 error argv "/usr/bin/node" "/usr/bin/npm" "run" "server"
19 error node v6.15.1
20 error npm v3.10.10
21 error code ELIFECYCLE
22 error [email protected] server: node dist/udpserver.js
22 error Exit status 1
23 error Failed at the [email protected] server script 'node dist/udpserver.js'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the switch-lan-play package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error node dist/udpserver.js
23 error You can get information on how to open an issue for this project with:
23 error npm bugs switch-lan-play
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls switch-lan-play
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

[Error] Client err: -14

-Latest build of lan play
-MacOS X
-Switch version: 6.2.0 ReiNX
-Switch settings: IP-Adress: 010.013.087.001; Subnetz-Maske: 255.255.000.000;
Gateway: 010.013.037.001
DNS: Primary: 163.172.141.219; Secondary: 045.248.048.062
MTU: 1500
Terminal:
sudo /Users/username/Desktop/lan-play
--relay-server-addr is required
Input the relay server address [ domain/ip:port ]: [Server-Adress-here]

  1. en0 (No description available)
    IP: [______________]
  2. fw0 (No description available)
    IP: [none]
  3. en1 (No description available)
    IP: [______________]
  4. lo0 (No description available)
    IP: [127.0.0.1,]
    Enter the interface number (1-4):3
    Opening en1
    [DEBUG]: filter: net 10.13.0.0/16
    Get MAC: 0:1e:52:82:1c:c9
    [DEBUG]: packet init buffer 0x1017ab520
    Server IP: 178.254.26.56
    pcap loop start
    0x101ab5108 accept, connect 95.216.149.205:80
    [ERROR]: client err: -14
    [DEBUG]: read_cb -4095
    0x101ab5108 accept, connect 95.216.149.205:80
    [ERROR]: client err: -14

Nintendo Switch connects to router but it fails at connecting to the internet, with the error code (on Switch): 2110-3131

Hello,
Switch-Lan-Play worked perfectly fine, before I updated my switch from 6.1.0 to 6.2.0. I don´t know, why this issue is happening and I don´t know how to fix it. Can someone please help me? Thank you in advance!
Best regards.

IPv6 Support

Do you know if we could add IPv6 capability to switch-lan-play?

We have designed a server with many features, and we have detected many users have issues today to connect because of the use of CGNAT by their providers.

IPV6 is the only external IP for many users and IPV4 are indeed local IP's from the Internet Provide.

Thank you.

No Interface?

image0
Interface not found, What should I do?
(This image was taken from a friend)

Android Support

When do you think we will get an apk of this app without root?
I just don't want to be harming my phone rooting it.

[Error] Client err: -13

-Latest build of lan play
-MacOS X and iOS
-Switch version: 7.0.1 ReiNX, Atmosphere and SxOS
-Switch settings: IP-Adress: 010.013.045.245; Subnetz-Maske: 255.255.0.0;
Gateway: 010.013.037.001
DNS: Primary: 163.172.141.219; Secondary: 045.248.048.062
MTU: 1400
Terminal:
--relay-server-addr is required
Input the relay server address [ domain/ip:port ]:switch.lan-play.com:11451

  1. en0 (No description available)
    IP: []
  2. fw0 (No description available)
    IP: []
  3. en1 (No description available)
    IP: [192.168.188.25]
  4. lo0 (No description available)
    IP: [127.0.0.1,]
    Enter the interface number (1-4):3
    Opening en1
    [DEBUG]: filter: net 10.13.0.0/16
    Get MAC: 0:1e:52:82:1c:c9
    [DEBUG]: packet init buffer 0x10e173520
    Server IP: 149.91.80.193
    pcap loop start
    0x10e47d108 accept, connect 95.216.149.205:80
    [ERROR]: client err: -14
    [DEBUG]: read_cb -4095
    0x10e47d108 accept, connect 95.216.149.205:80
    [ERROR]: client err: -14
    [DEBUG]: read_cb -4095
    0x10e47d108 accept, connect 95.216.149.205:80
    0x10e49e108 accept, connect 95.216.149.205:80
    0x10e4bf108 accept, connect 95.216.149.205:80
    0x10e4e0108 accept, connect 95.216.149.205:80
    0x10e501108 accept, connect 95.216.149.205:80
    [DEBUG]: p_read_cb -4095 end of file
    [ERROR]: client err: -14
    [DEBUG]: read_cb -4095
    [DEBUG]: write_cb -89
    0x10e5c7108 accept, connect 95.216.149.205:80
    0x10e5a6108 accept, connect 95.216.149.205:80
    0x10e62a108 accept, connect 95.216.149.205:80
    0x10e64b108 accept, connect 95.216.149.205:80
    0x10e66c108 accept, connect 95.216.149.205:80
    0x10e68d108 accept, connect 95.216.149.205:80
    [DEBUG]: p_read_cb -4095 end of file
    0x10e68d108 accept, connect 95.216.149.205:80
    0x10e6ae108 accept, connect 95.216.149.205:80
    0x10e6cf108 accept, connect 95.216.149.205:80
    0x10e6f0108 accept, connect 95.216.149.205:80
    0x10e711108 accept, connect 95.216.149.205:80
    0x10e732108 accept, connect 95.216.149.205:80

[ERROR]: client err: -13
[DEBUG]: read_cb -4095
[DEBUG]: write_cb -89

Nintendo Switch connects to router but it fails at connecting to the internet, with the error code (on Switch): 2110-3131

Hello,
Switch Lan-Play was working perfectly fine, but after I had network issues (access point acting weird/not working properly) it stopped working. Terminal is giving really strange feedback, for example it doesnt react if I try to connect my switch to wifi network. A few months ago I was getting client err: -14 which I can just ignore, but now I cant play with some others anymore. I dont know wether it is the issue of my lan-play setup (which I highly doubt, because I changed nothing in my setup) or the access point being weird. Can someone please help me? Thank you in advance!
Best regards.

(I also did a wireless diagnostics and got some fails there, I dont want to post it here to the public, if someone needs them to help or something, I will somehow send in in private chat, thank you again!)

problem running .exe v 0.0.3

version 0.0.3 is not compatible with windows 8.1 32 bit, but version .0.0.1 works perfect.

Any solution that does not have to reinstall windows?

Lan Play, Ad-Hoc possible??

Good morning
I have a question, you could adapt the Lan Play to use it in Ad-Hoc, through a server, as Xlink Kai does. We could use games that only have that function and we would greatly expand the catalog of online games

Greetings and thank you

lanplay 0.2.1 macosx catalina // can't make the file after the commands: xcode-select --install and brew install cmake

[ 2%] Built target base
[ 33%] Built target lwip_lib
[ 73%] Built target uv_a
[ 76%] Built target uv_lwip
[ 77%] Building CXX object src/CMakeFiles/lan-play.dir/pcaploop.cpp.o
In file included from /Users/Kyofabral/switch-lan-play/src/pcaploop.cpp:2:
In file included from /Users/Kyofabral/switch-lan-play/src/pcaploop.h:8:
In file included from /usr/local/include/uv.h:51:
In file included from /usr/local/include/stdio.h:64:
/usr/local/include/_stdio.h:93:16: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
unsigned char *_base;
^
/usr/local/include/_stdio.h:93:16: note: insert '_Nullable' if the pointer may
be null
unsigned char *_base;
^
_Nullable
/usr/local/include/_stdio.h:93:16: note: insert '_Nonnull' if the pointer should
never be null
unsigned char _base;
^
_Nonnull
/usr/local/include/_stdio.h:138:32: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nullable _read) (void *, char , int);
^
/usr/local/include/_stdio.h:138:32: note: insert '_Nullable' if the pointer may
be null
int (
_Nullable _read) (void *, char , int);
^
_Nullable
/usr/local/include/_stdio.h:138:32: note: insert '_Nonnull' if the pointer
should never be null
int (
_Nullable _read) (void *, char , int);
^
_Nonnull
/usr/local/include/_stdio.h:138:40: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nullable _read) (void *, char , int);
^
/usr/local/include/_stdio.h:138:40: note: insert '_Nullable' if the pointer may
be null
int (
_Nullable _read) (void *, char , int);
^
_Nullable
/usr/local/include/_stdio.h:138:40: note: insert '_Nonnull' if the pointer
should never be null
int (
_Nullable _read) (void *, char , int);
^
_Nonnull
/usr/local/include/_stdio.h:139:35: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
fpos_t (
_Nullable _seek) (void , fpos_t, int);
^
/usr/local/include/_stdio.h:139:35: note: insert '_Nullable' if the pointer may
be null
fpos_t (
_Nullable _seek) (void , fpos_t, int);
^
_Nullable
/usr/local/include/_stdio.h:139:35: note: insert '_Nonnull' if the pointer
should never be null
fpos_t (
_Nullable _seek) (void , fpos_t, int);
^
_Nonnull
/usr/local/include/_stdio.h:140:32: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nullable _write)(void *, const char , int);
^
/usr/local/include/_stdio.h:140:32: note: insert '_Nullable' if the pointer may
be null
int (
_Nullable _write)(void *, const char , int);
^
_Nullable
/usr/local/include/_stdio.h:140:32: note: insert '_Nonnull' if the pointer
should never be null
int (
_Nullable _write)(void *, const char , int);
^
_Nonnull
/usr/local/include/_stdio.h:140:46: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nullable _write)(void *, const char , int);
^
/usr/local/include/_stdio.h:140:46: note: insert '_Nullable' if the pointer may
be null
int (
_Nullable _write)(void *, const char , int);
^
_Nullable
/usr/local/include/_stdio.h:140:46: note: insert '_Nonnull' if the pointer
should never be null
int (
_Nullable _write)(void *, const char *, int);
^
_Nonnull
/usr/local/include/_stdio.h:144:18: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
struct __sFILEX _extra; / additions to FILE to not break ABI */
^
/usr/local/include/_stdio.h:144:18: note: insert '_Nullable' if the pointer may
be null
struct __sFILEX _extra; / additions to FILE to not break ABI */
^
_Nullable
/usr/local/include/_stdio.h:144:18: note: insert '_Nonnull' if the pointer
should never be null
struct __sFILEX _extra; / additions to FILE to not break ABI */
^
_Nonnull
In file included from /Users/Kyofabral/switch-lan-play/src/pcaploop.cpp:2:
In file included from /Users/Kyofabral/switch-lan-play/src/pcaploop.h:8:
In file included from /usr/local/include/uv.h:51:
/usr/local/include/stdio.h:67:13: warning: pointer is missing a nullability type
specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
extern FILE *__stdinp;
^
/usr/local/include/stdio.h:67:13: note: insert '_Nullable' if the pointer may be
null
extern FILE *__stdinp;
^
_Nullable
/usr/local/include/stdio.h:67:13: note: insert '_Nonnull' if the pointer should
never be null
extern FILE __stdinp;
^
_Nonnull
/usr/local/include/stdio.h:386:41: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nullable)(void *, const char , int),
^
/usr/local/include/stdio.h:386:41: note: insert '_Nullable' if the pointer may
be null
int (
_Nullable)(void *, const char , int),
^
_Nullable
/usr/local/include/stdio.h:386:41: note: insert '_Nonnull' if the pointer should
never be null
int (
_Nullable)(void *, const char , int),
^
_Nonnull
/usr/local/include/stdio.h:386:55: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nullable)(void *, const char , int),
^
/usr/local/include/stdio.h:386:55: note: insert '_Nullable' if the pointer may
be null
int (
_Nullable)(void *, const char , int),
^
_Nullable
/usr/local/include/stdio.h:386:55: note: insert '_Nonnull' if the pointer should
never be null
int (
_Nullable)(void *, const char , int),
^
_Nonnull
/usr/local/include/stdio.h:387:44: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
fpos_t (
_Nullable)(void , fpos_t, int),
^
/usr/local/include/stdio.h:387:44: note: insert '_Nullable' if the pointer may
be null
fpos_t (
_Nullable)(void , fpos_t, int),
^
_Nullable
/usr/local/include/stdio.h:387:44: note: insert '_Nonnull' if the pointer should
never be null
fpos_t (
_Nullable)(void , fpos_t, int),
^
_Nonnull
/usr/local/include/stdio.h:388:41: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nullable)(void ));
^
/usr/local/include/stdio.h:388:41: note: insert '_Nullable' if the pointer may
be null
int (
_Nullable)(void ));
^
_Nullable
/usr/local/include/stdio.h:388:41: note: insert '_Nonnull' if the pointer should
never be null
int (
_Nullable)(void *));
^
_Nonnull
/usr/local/include/stdio.h:384:6: warning: pointer is missing a nullability type
specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
FILE *funopen(const void *,
^
/usr/local/include/stdio.h:384:6: note: insert '_Nullable' if the pointer may be
null
FILE *funopen(const void *,
^
_Nullable
/usr/local/include/stdio.h:384:6: note: insert '_Nonnull' if the pointer should
never be null
FILE *funopen(const void *,
^
_Nonnull
In file included from /Users/Kyofabral/switch-lan-play/src/pcaploop.cpp:2:
In file included from /Users/Kyofabral/switch-lan-play/src/pcaploop.h:8:
In file included from /usr/local/include/uv.h:62:
In file included from /usr/local/include/uv/unix.h:43:
/usr/local/include/pthread.h:331:6: warning: macro expansion producing 'defined'
has undefined behavior [-Wexpansion-to-defined]
#if !_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT
^
/usr/local/include/pthread.h:200:2: note: expanded from macro
'_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREA...
^
/usr/local/include/pthread.h:331:6: warning: macro expansion producing 'defined'
has undefined behavior [-Wexpansion-to-defined]
/usr/local/include/pthread.h:200:34: note: expanded from macro
'_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREA...
^
/usr/local/include/pthread.h:540:6: warning: macro expansion producing 'defined'
has undefined behavior [-Wexpansion-to-defined]
#if !_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT
^
/usr/local/include/pthread.h:200:2: note: expanded from macro
'_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREA...
^
/usr/local/include/pthread.h:540:6: warning: macro expansion producing 'defined'
has undefined behavior [-Wexpansion-to-defined]
/usr/local/include/pthread.h:200:34: note: expanded from macro
'_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREA...
^
In file included from /Users/Kyofabral/switch-lan-play/src/pcaploop.cpp:2:
In file included from /Users/Kyofabral/switch-lan-play/src/pcaploop.h:8:
In file included from /usr/local/include/uv.h:62:
In file included from /usr/local/include/uv/unix.h:44:
/usr/local/include/signal.h:69:21: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
extern __const char *__const sys_signame[NSIG];
^
/usr/local/include/signal.h:69:21: note: insert '_Nullable' if the pointer may
be null
extern __const char *__const sys_signame[NSIG];
^
_Nullable
/usr/local/include/signal.h:69:21: note: insert '_Nonnull' if the pointer should
never be null
extern __const char *__const sys_signame[NSIG];
^
_Nonnull
/usr/local/include/signal.h:82:18: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int pthread_kill(pthread_t, int);
^
/usr/local/include/signal.h:82:18: note: insert '_Nullable' if the pointer may
be null
int pthread_kill(pthread_t, int);
^
_Nullable
/usr/local/include/signal.h:82:18: note: insert '_Nonnull' if the pointer should
never be null
int pthread_kill(pthread_t, int);
^
_Nonnull
/usr/local/include/signal.h:83:41: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int pthread_sigmask(int, const sigset_t *, sigset_t *) __DARWIN_ALIA...
^
/usr/local/include/signal.h:83:41: note: insert '_Nullable' if the pointer may
be null
int pthread_sigmask(int, const sigset_t *, sigset_t *) __DARWIN_ALIA...
^
_Nullable
/usr/local/include/signal.h:83:41: note: insert '_Nonnull' if the pointer should
never be null
int pthread_sigmask(int, const sigset_t *, sigset_t *) __DARWIN_ALIA...
^
_Nonnull
/usr/local/include/signal.h:83:53: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int pthread_sigmask(int, const sigset_t *, sigset_t *) __DARWIN_ALIA...
^
/usr/local/include/signal.h:83:53: note: insert '_Nullable' if the pointer may
be null
int pthread_sigmask(int, const sigset_t *, sigset_t *) __DARWIN_ALIA...
^
_Nullable
/usr/local/include/signal.h:83:53: note: insert '_Nonnull' if the pointer should
never be null
int pthread_sigmask(int, const sigset_t *, sigset_t *) __DARWIN_ALIA...
^
_Nonnull
/usr/local/include/signal.h:84:43: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int sigaction(int, const struct sigaction * __restrict,
^
/usr/local/include/signal.h:84:43: note: insert '_Nullable' if the pointer may
be null
int sigaction(int, const struct sigaction * __restrict,
^
_Nullable
/usr/local/include/signal.h:84:43: note: insert '_Nonnull' if the pointer should
never be null
int sigaction(int, const struct sigaction * __restrict,
^
_Nonnull
/usr/local/include/signal.h:85:23: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
struct sigaction * __restrict);
^
/usr/local/include/signal.h:85:23: note: insert '_Nullable' if the pointer may
be null
struct sigaction * __restrict);
^
_Nullable
/usr/local/include/signal.h:85:23: note: insert '_Nonnull' if the pointer should
never be null
struct sigaction * __restrict);
^
_Nonnull
/usr/local/include/signal.h:86:24: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int sigaddset(sigset_t *, int);
^
/usr/local/include/signal.h:86:24: note: insert '_Nullable' if the pointer may
be null
int sigaddset(sigset_t *, int);
^
_Nullable
/usr/local/include/signal.h:86:24: note: insert '_Nonnull' if the pointer should
never be null
int sigaddset(sigset_t *, int);
^
_Nonnull
/usr/local/include/signal.h:87:31: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int sigaltstack(const stack_t * __restrict, stack_t * __restrict) _...
^
/usr/local/include/signal.h:87:31: note: insert '_Nullable' if the pointer may
be null
int sigaltstack(const stack_t * __restrict, stack_t * __restrict) _...
^
_Nullable
/usr/local/include/signal.h:87:31: note: insert '_Nonnull' if the pointer should
never be null
int sigaltstack(const stack_t * __restrict, stack_t * __restrict) _...
^
_Nonnull
/usr/local/include/signal.h:87:53: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int sigaltstack(const stack_t * __restrict, stack_t * __restrict) _...
^
/usr/local/include/signal.h:87:53: note: insert '_Nullable' if the pointer may
be null
int sigaltstack(const stack_t * __restrict, stack_t * __restrict) _DARWIN...
^
_Nullable
/usr/local/include/signal.h:87:53: note: insert '_Nonnull' if the pointer should
never be null
int sigaltstack(const stack_t * __restrict, stack_t * __restrict) _DARWIN...
^
_Nonnull
/usr/local/include/signal.h:88:24: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int sigdelset(sigset_t *, int);
^
/usr/local/include/signal.h:88:24: note: insert '_Nullable' if the pointer may
be null
int sigdelset(sigset_t *, int);
^
_Nullable
/usr/local/include/signal.h:88:24: note: insert '_Nonnull' if the pointer should
never be null
int sigdelset(sigset_t *, int);
^
_Nonnull
/usr/local/include/signal.h:89:26: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int sigemptyset(sigset_t *);
^
/usr/local/include/signal.h:89:26: note: insert '_Nullable' if the pointer may
be null
int sigemptyset(sigset_t *);
^
_Nullable
/usr/local/include/signal.h:89:26: note: insert '_Nonnull' if the pointer should
never be null
int sigemptyset(sigset_t *);
^
_Nonnull
/usr/local/include/signal.h:90:25: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int sigfillset(sigset_t *);
^
/usr/local/include/signal.h:90:25: note: insert '_Nullable' if the pointer may
be null
int sigfillset(sigset_t *);
^
_Nullable
/usr/local/include/signal.h:90:25: note: insert '_Nonnull' if the pointer should
never be null
int sigfillset(sigset_t *);
^
_Nonnull
/usr/local/include/signal.h:94:32: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int sigismember(const sigset_t *, int);
^
/usr/local/include/signal.h:94:32: note: insert '_Nullable' if the pointer may
be null
int sigismember(const sigset_t *, int);
^
_Nullable
/usr/local/include/signal.h:94:32: note: insert '_Nonnull' if the pointer should
never be null
int sigismember(const sigset_t *, int);
^
_Nonnull
/usr/local/include/signal.h:96:25: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int sigpending(sigset_t *);
^
/usr/local/include/signal.h:96:25: note: insert '_Nullable' if the pointer may
be null
int sigpending(sigset_t *);
^
_Nullable
/usr/local/include/signal.h:96:25: note: insert '_Nonnull' if the pointer should
never be null
int sigpending(sigset_t *);
^
_Nonnull
/usr/local/include/signal.h:97:37: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int sigprocmask(int, const sigset_t * __restrict, sigset_t * __restrict);
^
/usr/local/include/signal.h:97:37: note: insert '_Nullable' if the pointer may
be null
int sigprocmask(int, const sigset_t * __restrict, sigset_t * __restrict);
^
_Nullable
/usr/local/include/signal.h:97:37: note: insert '_Nonnull' if the pointer should
never be null
int sigprocmask(int, const sigset_t * __restrict, sigset_t * __restrict);
^
_Nonnull
/usr/local/include/signal.h:97:60: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int sigprocmask(int, const sigset_t * __restrict, sigset_t * __restrict);
^
/usr/local/include/signal.h:97:60: note: insert '_Nullable' if the pointer may
be null
int sigprocmask(int, const sigset_t * __restrict, sigset_t * __restrict);
^
_Nullable
/usr/local/include/signal.h:97:60: note: insert '_Nonnull' if the pointer should
never be null
int sigprocmask(int, const sigset_t * __restrict, sigset_t * __restrict);
^
_Nonnull
/usr/local/include/signal.h:100:31: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int sigsuspend(const sigset_t *) __DARWIN_ALIAS_C(sigsuspend);
^
/usr/local/include/signal.h:100:31: note: insert '_Nullable' if the pointer may
be null
int sigsuspend(const sigset_t *) __DARWIN_ALIAS_C(sigsuspend);
^
_Nullable
/usr/local/include/signal.h:100:31: note: insert '_Nonnull' if the pointer
should never be null
int sigsuspend(const sigset_t *) __DARWIN_ALIAS_C(sigsuspend);
^
_Nonnull
/usr/local/include/signal.h:101:28: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int sigwait(const sigset_t * __restrict, int * __restrict) _DARWIN...
^
/usr/local/include/signal.h:101:28: note: insert '_Nullable' if the pointer may
be null
int sigwait(const sigset_t * __restrict, int * __restrict) _DARWIN...
^
_Nullable
/usr/local/include/signal.h:101:28: note: insert '_Nonnull' if the pointer
should never be null
int sigwait(const sigset_t * __restrict, int * __restrict) _DARWIN...
^
_Nonnull
/usr/local/include/signal.h:101:46: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int sigwait(const sigset_t * __restrict, int * __restrict) _DARWIN...
^
/usr/local/include/signal.h:101:46: note: insert '_Nullable' if the pointer may
be null
int sigwait(const sigset_t * __restrict, int * __restrict) _DARWIN...
^
_Nullable
/usr/local/include/signal.h:101:46: note: insert '_Nonnull' if the pointer
should never be null
int sigwait(const sigset_t * __restrict, int * __restrict) _DARWIN...
^
_Nonnull
/usr/local/include/signal.h:103:39: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void psignal(unsigned int, const char *);
^
/usr/local/include/signal.h:103:39: note: insert '_Nullable' if the pointer may
be null
void psignal(unsigned int, const char *);
^
_Nullable
/usr/local/include/signal.h:103:39: note: insert '_Nonnull' if the pointer
should never be null
void psignal(unsigned int, const char *);
^
_Nonnull
/usr/local/include/signal.h:106:31: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int sigvec(int, struct sigvec *, struct sigvec *);
^
/usr/local/include/signal.h:106:31: note: insert '_Nullable' if the pointer may
be null
int sigvec(int, struct sigvec *, struct sigvec *);
^
_Nullable
/usr/local/include/signal.h:106:31: note: insert '_Nonnull' if the pointer
should never be null
int sigvec(int, struct sigvec *, struct sigvec *);
^
_Nonnull
/usr/local/include/signal.h:106:48: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int sigvec(int, struct sigvec *, struct sigvec *);
^
/usr/local/include/signal.h:106:48: note: insert '_Nullable' if the pointer may
be null
int sigvec(int, struct sigvec *, struct sigvec *);
^
_Nullable
/usr/local/include/signal.h:106:48: note: insert '_Nonnull' if the pointer
should never be null
int sigvec(int, struct sigvec *, struct sigvec *);
^
_Nonnull
In file included from /Users/Kyofabral/switch-lan-play/src/pcaploop.cpp:4:
In file included from /Users/Kyofabral/switch-lan-play/base/include/base/llog.h:5:
/usr/local/include/stdlib.h:134:25: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
double atof(const char *);
^
/usr/local/include/stdlib.h:134:25: note: insert '_Nullable' if the pointer may
be null
double atof(const char *);
^
_Nullable
/usr/local/include/stdlib.h:134:25: note: insert '_Nonnull' if the pointer
should never be null
double atof(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:135:22: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int atoi(const char *);
^
/usr/local/include/stdlib.h:135:22: note: insert '_Nullable' if the pointer may
be null
int atoi(const char *);
^
_Nullable
/usr/local/include/stdlib.h:135:22: note: insert '_Nonnull' if the pointer
should never be null
int atoi(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:136:23: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
long atol(const char *);
^
/usr/local/include/stdlib.h:136:23: note: insert '_Nullable' if the pointer may
be null
long atol(const char *);
^
_Nullable
/usr/local/include/stdlib.h:136:23: note: insert '_Nonnull' if the pointer
should never be null
long atol(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:139:20: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
atoll(const char *);
^
/usr/local/include/stdlib.h:139:20: note: insert '_Nullable' if the pointer may
be null
atoll(const char *);
^
_Nullable
/usr/local/include/stdlib.h:139:20: note: insert '_Nonnull' if the pointer
should never be null
atoll(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:141:26: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void *bsearch(const void *__key, const void *__base, size_t __nel,
^
/usr/local/include/stdlib.h:141:26: note: insert '_Nullable' if the pointer may
be null
void *bsearch(const void *__key, const void *__base, size_t __nel,
^
_Nullable
/usr/local/include/stdlib.h:141:26: note: insert '_Nonnull' if the pointer
should never be null
void *bsearch(const void *__key, const void *__base, size_t __nel,
^
_Nonnull
/usr/local/include/stdlib.h:141:45: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void *bsearch(const void *__key, const void *__base, size_t __nel,
^
/usr/local/include/stdlib.h:141:45: note: insert '_Nullable' if the pointer may
be null
void *bsearch(const void *__key, const void *__base, size_t __nel,
^
_Nullable
/usr/local/include/stdlib.h:141:45: note: insert '_Nonnull' if the pointer
should never be null
void *bsearch(const void *__key, const void __base, size_t __nel,
^
_Nonnull
/usr/local/include/stdlib.h:142:59: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
...size_t __width, int (
_Nonnull __compar)(const void *, const void ));
^
/usr/local/include/stdlib.h:142:59: note: insert '_Nullable' if the pointer may
be null
...size_t __width, int (
_Nonnull __compar)(const void *, const void ));
^
_Nullable
/usr/local/include/stdlib.h:142:59: note: insert '_Nonnull' if the pointer
should never be null
...size_t __width, int (
_Nonnull __compar)(const void *, const void ));
^
_Nonnull
/usr/local/include/stdlib.h:142:73: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
...size_t __width, int (
_Nonnull __compar)(const void *, const void ));
^
/usr/local/include/stdlib.h:142:73: note: insert '_Nullable' if the pointer may
be null
...__width, int (
_Nonnull __compar)(const void *, const void ));
^
_Nullable
/usr/local/include/stdlib.h:142:73: note: insert '_Nonnull' if the pointer
should never be null
...__width, int (
_Nonnull __compar)(const void *, const void *));
^
_Nonnull
/usr/local/include/stdlib.h:141:6: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void *bsearch(const void *__key, const void *__base, size_t __nel,
^
/usr/local/include/stdlib.h:141:6: note: insert '_Nullable' if the pointer may
be null
void *bsearch(const void *__key, const void *__base, size_t __nel,
^
_Nullable
/usr/local/include/stdlib.h:141:6: note: insert '_Nonnull' if the pointer should
never be null
void *bsearch(const void *__key, const void *__base, size_t __nel,
^
_Nonnull
/usr/local/include/stdlib.h:147:25: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *getenv(const char *);
^
/usr/local/include/stdlib.h:147:25: note: insert '_Nullable' if the pointer may
be null
char *getenv(const char *);
^
_Nullable
/usr/local/include/stdlib.h:147:25: note: insert '_Nonnull' if the pointer
should never be null
char *getenv(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:147:6: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *getenv(const char *);
^
/usr/local/include/stdlib.h:147:6: note: insert '_Nullable' if the pointer may
be null
char *getenv(const char *);
^
_Nullable
/usr/local/include/stdlib.h:147:6: note: insert '_Nonnull' if the pointer should
never be null
char *getenv(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:156:23: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int mblen(const char *__s, size_t __n);
^
/usr/local/include/stdlib.h:156:23: note: insert '_Nullable' if the pointer may
be null
int mblen(const char *__s, size_t __n);
^
_Nullable
/usr/local/include/stdlib.h:156:23: note: insert '_Nonnull' if the pointer
should never be null
int mblen(const char *__s, size_t __n);
^
_Nonnull
/usr/local/include/stdlib.h:157:26: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
^
/usr/local/include/stdlib.h:157:26: note: insert '_Nullable' if the pointer may
be null
size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
^
_Nullable
/usr/local/include/stdlib.h:157:26: note: insert '_Nonnull' if the pointer
should never be null
size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
^
_Nonnull
/usr/local/include/stdlib.h:157:52: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
^
/usr/local/include/stdlib.h:157:52: note: insert '_Nullable' if the pointer may
be null
size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
^
_Nullable
/usr/local/include/stdlib.h:157:52: note: insert '_Nonnull' if the pointer
should never be null
size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
^
_Nonnull
/usr/local/include/stdlib.h:158:21: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
^
/usr/local/include/stdlib.h:158:21: note: insert '_Nullable' if the pointer may
be null
int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
^
_Nullable
/usr/local/include/stdlib.h:158:21: note: insert '_Nonnull' if the pointer
should never be null
int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
^
_Nonnull
/usr/local/include/stdlib.h:158:46: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
^
/usr/local/include/stdlib.h:158:46: note: insert '_Nullable' if the pointer may
be null
int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
^
_Nullable
/usr/local/include/stdlib.h:158:46: note: insert '_Nonnull' if the pointer
should never be null
int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
^
_Nonnull
/usr/local/include/stdlib.h:160:18: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void qsort(void *__base, size_t __nel, size_t __width,
^
/usr/local/include/stdlib.h:160:18: note: insert '_Nullable' if the pointer may
be null
void qsort(void *__base, size_t __nel, size_t __width,
^
_Nullable
/usr/local/include/stdlib.h:160:18: note: insert '_Nonnull' if the pointer
should never be null
void qsort(void __base, size_t __nel, size_t __width,
^
_Nonnull
/usr/local/include/stdlib.h:161:43: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nonnull __compar)(const void *, const void ));
^
/usr/local/include/stdlib.h:161:43: note: insert '_Nullable' if the pointer may
be null
int (
_Nonnull __compar)(const void *, const void ));
^
_Nullable
/usr/local/include/stdlib.h:161:43: note: insert '_Nonnull' if the pointer
should never be null
int (
_Nonnull __compar)(const void *, const void ));
^
_Nonnull
/usr/local/include/stdlib.h:161:57: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nonnull __compar)(const void *, const void ));
^
/usr/local/include/stdlib.h:161:57: note: insert '_Nullable' if the pointer may
be null
int (
_Nonnull __compar)(const void *, const void ));
^
_Nullable
/usr/local/include/stdlib.h:161:57: note: insert '_Nonnull' if the pointer
should never be null
int (
_Nonnull __compar)(const void *, const void *));
^
_Nonnull
/usr/local/include/stdlib.h:165:27: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
double strtod(const char *, char **) __DARWIN_ALIAS(strtod);
^
/usr/local/include/stdlib.h:165:27: note: insert '_Nullable' if the pointer may
be null
double strtod(const char *, char **) __DARWIN_ALIAS(strtod);
^
_Nullable
/usr/local/include/stdlib.h:165:27: note: insert '_Nonnull' if the pointer
should never be null
double strtod(const char *, char **) __DARWIN_ALIAS(strtod);
^
_Nonnull
/usr/local/include/stdlib.h:165:35: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
double strtod(const char *, char **) __DARWIN_ALIAS(strtod);
^
/usr/local/include/stdlib.h:165:35: note: insert '_Nullable' if the pointer may
be null
double strtod(const char *, char **) __DARWIN_ALIAS(strtod);
^
_Nullable
/usr/local/include/stdlib.h:165:35: note: insert '_Nonnull' if the pointer
should never be null
double strtod(const char *, char **) __DARWIN_ALIAS(strtod);
^
_Nonnull
/usr/local/include/stdlib.h:165:36: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
double strtod(const char *, char **) __DARWIN_ALIAS(strtod);
^
/usr/local/include/stdlib.h:165:36: note: insert '_Nullable' if the pointer may
be null
double strtod(const char *, char **) __DARWIN_ALIAS(strtod);
^
_Nullable
/usr/local/include/stdlib.h:165:36: note: insert '_Nonnull' if the pointer
should never be null
double strtod(const char *, char **) __DARWIN_ALIAS(strtod);
^
_Nonnull
/usr/local/include/stdlib.h:166:26: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
float strtof(const char *, char **) __DARWIN_ALIAS(strtof);
^
/usr/local/include/stdlib.h:166:26: note: insert '_Nullable' if the pointer may
be null
float strtof(const char *, char **) __DARWIN_ALIAS(strtof);
^
_Nullable
/usr/local/include/stdlib.h:166:26: note: insert '_Nonnull' if the pointer
should never be null
float strtof(const char *, char **) __DARWIN_ALIAS(strtof);
^
_Nonnull
/usr/local/include/stdlib.h:166:34: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
float strtof(const char *, char **) __DARWIN_ALIAS(strtof);
^
/usr/local/include/stdlib.h:166:34: note: insert '_Nullable' if the pointer may
be null
float strtof(const char *, char **) __DARWIN_ALIAS(strtof);
^
_Nullable
/usr/local/include/stdlib.h:166:34: note: insert '_Nonnull' if the pointer
should never be null
float strtof(const char *, char **) __DARWIN_ALIAS(strtof);
^
_Nonnull
/usr/local/include/stdlib.h:166:35: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
float strtof(const char *, char **) __DARWIN_ALIAS(strtof);
^
/usr/local/include/stdlib.h:166:35: note: insert '_Nullable' if the pointer may
be null
float strtof(const char *, char **) __DARWIN_ALIAS(strtof);
^
_Nullable
/usr/local/include/stdlib.h:166:35: note: insert '_Nonnull' if the pointer
should never be null
float strtof(const char *, char **) __DARWIN_ALIAS(strtof);
^
_Nonnull
/usr/local/include/stdlib.h:167:25: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
long strtol(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:167:25: note: insert '_Nullable' if the pointer may
be null
long strtol(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:167:25: note: insert '_Nonnull' if the pointer
should never be null
long strtol(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:167:38: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
long strtol(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:167:38: note: insert '_Nullable' if the pointer may
be null
long strtol(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:167:38: note: insert '_Nonnull' if the pointer
should never be null
long strtol(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:167:39: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
long strtol(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:167:39: note: insert '_Nullable' if the pointer may
be null
long strtol(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:167:39: note: insert '_Nonnull' if the pointer
should never be null
long strtol(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:169:22: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
strtold(const char *, char **);
^
/usr/local/include/stdlib.h:169:22: note: insert '_Nullable' if the pointer may
be null
strtold(const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:169:22: note: insert '_Nonnull' if the pointer
should never be null
strtold(const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:169:30: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
strtold(const char *, char **);
^
/usr/local/include/stdlib.h:169:30: note: insert '_Nullable' if the pointer may
be null
strtold(const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:169:30: note: insert '_Nonnull' if the pointer
should never be null
strtold(const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:169:31: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
strtold(const char *, char **);
^
/usr/local/include/stdlib.h:169:31: note: insert '_Nullable' if the pointer may
be null
strtold(const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:169:31: note: insert '_Nonnull' if the pointer
should never be null
strtold(const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:172:22: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
strtoll(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:172:22: note: insert '_Nullable' if the pointer may
be null
strtoll(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:172:22: note: insert '_Nonnull' if the pointer
should never be null
strtoll(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:172:35: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
strtoll(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:172:35: note: insert '_Nullable' if the pointer may
be null
strtoll(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:172:35: note: insert '_Nonnull' if the pointer
should never be null
strtoll(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:172:36: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
strtoll(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:172:36: note: insert '_Nullable' if the pointer may
be null
strtoll(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:172:36: note: insert '_Nonnull' if the pointer
should never be null
strtoll(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:175:22: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
strtoul(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:175:22: note: insert '_Nullable' if the pointer may
be null
strtoul(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:175:22: note: insert '_Nonnull' if the pointer
should never be null
strtoul(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:175:35: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
strtoul(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:175:35: note: insert '_Nullable' if the pointer may
be null
strtoul(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:175:35: note: insert '_Nonnull' if the pointer
should never be null
strtoul(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:175:36: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
strtoul(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:175:36: note: insert '_Nullable' if the pointer may
be null
strtoul(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:175:36: note: insert '_Nonnull' if the pointer
should never be null
strtoul(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:178:23: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
strtoull(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:178:23: note: insert '_Nullable' if the pointer may
be null
strtoull(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:178:23: note: insert '_Nonnull' if the pointer
should never be null
strtoull(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:178:36: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
strtoull(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:178:36: note: insert '_Nullable' if the pointer may
be null
strtoull(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:178:36: note: insert '_Nonnull' if the pointer
should never be null
strtoull(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:178:37: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
strtoull(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:178:37: note: insert '_Nullable' if the pointer may
be null
strtoull(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:178:37: note: insert '_Nonnull' if the pointer
should never be null
strtoull(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:190:24: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int system(const char *) __DARWIN_ALIAS_C(system);
^
/usr/local/include/stdlib.h:190:24: note: insert '_Nullable' if the pointer may
be null
int system(const char *) __DARWIN_ALIAS_C(system);
^
_Nullable
/usr/local/include/stdlib.h:190:24: note: insert '_Nonnull' if the pointer
should never be null
int system(const char *) __DARWIN_ALIAS_C(system);
^
_Nonnull
/usr/local/include/stdlib.h:194:23: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
^
/usr/local/include/stdlib.h:194:23: note: insert '_Nullable' if the pointer may
be null
size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
^
_Nullable
/usr/local/include/stdlib.h:194:23: note: insert '_Nonnull' if the pointer
should never be null
size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
^
_Nonnull
/usr/local/include/stdlib.h:194:51: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
^
/usr/local/include/stdlib.h:194:51: note: insert '_Nullable' if the pointer may
be null
size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
^
_Nullable
/usr/local/include/stdlib.h:194:51: note: insert '_Nonnull' if the pointer
should never be null
size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
^
_Nonnull
/usr/local/include/stdlib.h:195:18: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int wctomb(char *, wchar_t);
^
/usr/local/include/stdlib.h:195:18: note: insert '_Nullable' if the pointer may
be null
int wctomb(char *, wchar_t);
^
_Nullable
/usr/local/include/stdlib.h:195:18: note: insert '_Nonnull' if the pointer
should never be null
int wctomb(char *, wchar_t);
^
_Nonnull
/usr/local/include/stdlib.h:199:23: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
long a64l(const char *);
^
/usr/local/include/stdlib.h:199:23: note: insert '_Nullable' if the pointer may
be null
long a64l(const char *);
^
_Nullable
/usr/local/include/stdlib.h:199:23: note: insert '_Nonnull' if the pointer
should never be null
long a64l(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:201:29: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *ecvt(double, int, int *__restrict, int __restrict); / LEGACY */
^
/usr/local/include/stdlib.h:201:29: note: insert '_Nullable' if the pointer may
be null
char *ecvt(double, int, int *__restrict, int __restrict); / LEGACY */
^
_Nullable
/usr/local/include/stdlib.h:201:29: note: insert '_Nonnull' if the pointer
should never be null
char *ecvt(double, int, int *__restrict, int __restrict); / LEGACY */
^
_Nonnull
/usr/local/include/stdlib.h:201:46: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *ecvt(double, int, int *__restrict, int __restrict); / LEGACY */
^
/usr/local/include/stdlib.h:201:46: note: insert '_Nullable' if the pointer may
be null
char *ecvt(double, int, int *__restrict, int __restrict); / LEGACY */
^
_Nullable
/usr/local/include/stdlib.h:201:46: note: insert '_Nonnull' if the pointer
should never be null
char *ecvt(double, int, int *__restrict, int __restrict); / LEGACY */
^
_Nonnull
/usr/local/include/stdlib.h:201:6: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *ecvt(double, int, int *__restrict, int __restrict); / LEGACY */
^
/usr/local/include/stdlib.h:201:6: note: insert '_Nullable' if the pointer may
be null
char *ecvt(double, int, int *__restrict, int __restrict); / LEGACY */
^
_Nullable
/usr/local/include/stdlib.h:201:6: note: insert '_Nonnull' if the pointer should
never be null
char *ecvt(double, int, int *__restrict, int __restrict); / LEGACY */
^
_Nonnull
/usr/local/include/stdlib.h:202:31: warning: array parameter is missing a
nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness-on-arrays]
double erand48(unsigned short[3]);
^
/usr/local/include/stdlib.h:202:31: note: insert '_Nullable' if the array
parameter may be null
double erand48(unsigned short[3]);
^
_Nullable
/usr/local/include/stdlib.h:202:31: note: insert '_Nonnull' if the array
parameter should never be null
double erand48(unsigned short[3]);
^
_Nonnull
/usr/local/include/stdlib.h:203:29: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *fcvt(double, int, int *__restrict, int __restrict); / LEGACY */
^
/usr/local/include/stdlib.h:203:29: note: insert '_Nullable' if the pointer may
be null
char *fcvt(double, int, int *__restrict, int __restrict); / LEGACY */
^
_Nullable
/usr/local/include/stdlib.h:203:29: note: insert '_Nonnull' if the pointer
should never be null
char *fcvt(double, int, int *__restrict, int __restrict); / LEGACY */
^
_Nonnull
/usr/local/include/stdlib.h:203:46: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *fcvt(double, int, int *__restrict, int __restrict); / LEGACY */
^
/usr/local/include/stdlib.h:203:46: note: insert '_Nullable' if the pointer may
be null
char *fcvt(double, int, int *__restrict, int __restrict); / LEGACY */
^
_Nullable
/usr/local/include/stdlib.h:203:46: note: insert '_Nonnull' if the pointer
should never be null
char *fcvt(double, int, int *__restrict, int __restrict); / LEGACY */
^
_Nonnull
/usr/local/include/stdlib.h:203:6: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *fcvt(double, int, int *__restrict, int __restrict); / LEGACY */
^
/usr/local/include/stdlib.h:203:6: note: insert '_Nullable' if the pointer may
be null
char *fcvt(double, int, int *__restrict, int __restrict); / LEGACY */
^
_Nullable
/usr/local/include/stdlib.h:203:6: note: insert '_Nonnull' if the pointer should
never be null
char *fcvt(double, int, int *__restrict, int __restrict); / LEGACY */
^
_Nonnull
/usr/local/include/stdlib.h:204:30: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *gcvt(double, int, char ); / LEGACY */
^
/usr/local/include/stdlib.h:204:30: note: insert '_Nullable' if the pointer may
be null
char *gcvt(double, int, char ); / LEGACY */
^
_Nullable
/usr/local/include/stdlib.h:204:30: note: insert '_Nonnull' if the pointer
should never be null
char *gcvt(double, int, char ); / LEGACY */
^
_Nonnull
/usr/local/include/stdlib.h:204:6: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *gcvt(double, int, char ); / LEGACY */
^
/usr/local/include/stdlib.h:204:6: note: insert '_Nullable' if the pointer may
be null
char *gcvt(double, int, char ); / LEGACY */
^
_Nullable
/usr/local/include/stdlib.h:204:6: note: insert '_Nonnull' if the pointer should
never be null
char *gcvt(double, int, char ); / LEGACY */
^
_Nonnull
/usr/local/include/stdlib.h:205:21: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int getsubopt(char **, char * const *, char **);
^
/usr/local/include/stdlib.h:205:21: note: insert '_Nullable' if the pointer may
be null
int getsubopt(char **, char * const *, char **);
^
_Nullable
/usr/local/include/stdlib.h:205:21: note: insert '_Nonnull' if the pointer
should never be null
int getsubopt(char **, char * const *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:205:22: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int getsubopt(char **, char * const *, char **);
^
/usr/local/include/stdlib.h:205:22: note: insert '_Nullable' if the pointer may
be null
int getsubopt(char **, char * const *, char **);
^
_Nullable
/usr/local/include/stdlib.h:205:22: note: insert '_Nonnull' if the pointer
should never be null
int getsubopt(char **, char * const *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:205:30: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int getsubopt(char **, char * const *, char **);
^
/usr/local/include/stdlib.h:205:30: note: insert '_Nullable' if the pointer may
be null
int getsubopt(char **, char * const *, char **);
^
_Nullable
/usr/local/include/stdlib.h:205:30: note: insert '_Nonnull' if the pointer
should never be null
int getsubopt(char **, char * const *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:205:38: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int getsubopt(char **, char * const *, char **);
^
/usr/local/include/stdlib.h:205:38: note: insert '_Nullable' if the pointer may
be null
int getsubopt(char **, char * const *, char **);
^
_Nullable
/usr/local/include/stdlib.h:205:38: note: insert '_Nonnull' if the pointer
should never be null
int getsubopt(char **, char * const *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:205:46: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int getsubopt(char **, char * const *, char **);
^
/usr/local/include/stdlib.h:205:46: note: insert '_Nullable' if the pointer may
be null
int getsubopt(char **, char * const *, char **);
^
_Nullable
/usr/local/include/stdlib.h:205:46: note: insert '_Nonnull' if the pointer
should never be null
int getsubopt(char **, char * const *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:205:47: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int getsubopt(char **, char * const *, char **);
^
/usr/local/include/stdlib.h:205:47: note: insert '_Nullable' if the pointer may
be null
int getsubopt(char **, char * const *, char **);
^
_Nullable
/usr/local/include/stdlib.h:205:47: note: insert '_Nonnull' if the pointer
should never be null
int getsubopt(char **, char * const *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:208:32: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *initstate(unsigned, char , size_t); / no __DARWIN_ALIAS needed */
^
/usr/local/include/stdlib.h:208:32: note: insert '_Nullable' if the pointer may
be null
char *initstate(unsigned, char , size_t); / no __DARWIN_ALIAS needed */
^
_Nullable
/usr/local/include/stdlib.h:208:32: note: insert '_Nonnull' if the pointer
should never be null
char *initstate(unsigned, char , size_t); / no __DARWIN_ALIAS needed */
^
_Nonnull
/usr/local/include/stdlib.h:208:6: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *initstate(unsigned, char , size_t); / no __DARWIN_ALIAS needed */
^
/usr/local/include/stdlib.h:208:6: note: insert '_Nullable' if the pointer may
be null
char *initstate(unsigned, char , size_t); / no __DARWIN_ALIAS needed */
^
_Nullable
/usr/local/include/stdlib.h:208:6: note: insert '_Nonnull' if the pointer should
never be null
char *initstate(unsigned, char , size_t); / no __DARWIN_ALIAS needed */
^
_Nonnull
/usr/local/include/stdlib.h:212:29: warning: array parameter is missing a
nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness-on-arrays]
long jrand48(unsigned short[3]) __swift_unavailable("Use arc4random ...
^
/usr/local/include/stdlib.h:212:29: note: insert '_Nullable' if the array
parameter may be null
long jrand48(unsigned short[3]) __swift_unavailable("Use arc4random ...
^
_Nullable
/usr/local/include/stdlib.h:212:29: note: insert '_Nonnull' if the array
parameter should never be null
long jrand48(unsigned short[3]) __swift_unavailable("Use arc4random ...
^
_Nonnull
/usr/local/include/stdlib.h:213:6: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *l64a(long);
^
/usr/local/include/stdlib.h:213:6: note: insert '_Nullable' if the pointer may
be null
char *l64a(long);
^
_Nullable
/usr/local/include/stdlib.h:213:6: note: insert '_Nonnull' if the pointer should
never be null
char *l64a(long);
^
_Nonnull
/usr/local/include/stdlib.h:214:29: warning: array parameter is missing a
nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness-on-arrays]
void lcong48(unsigned short[7]);
^
/usr/local/include/stdlib.h:214:29: note: insert '_Nullable' if the array
parameter may be null
void lcong48(unsigned short[7]);
^
_Nullable
/usr/local/include/stdlib.h:214:29: note: insert '_Nonnull' if the array
parameter should never be null
void lcong48(unsigned short[7]);
^
_Nonnull
/usr/local/include/stdlib.h:216:19: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *mktemp(char *);
^
/usr/local/include/stdlib.h:216:19: note: insert '_Nullable' if the pointer may
be null
char *mktemp(char *);
^
_Nullable
/usr/local/include/stdlib.h:216:19: note: insert '_Nonnull' if the pointer
should never be null
char *mktemp(char *);
^
_Nonnull
/usr/local/include/stdlib.h:216:6: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *mktemp(char *);
^
/usr/local/include/stdlib.h:216:6: note: insert '_Nullable' if the pointer may
be null
char *mktemp(char *);
^
_Nullable
/usr/local/include/stdlib.h:216:6: note: insert '_Nonnull' if the pointer should
never be null
char *mktemp(char *);
^
_Nonnull
/usr/local/include/stdlib.h:217:19: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int mkstemp(char *);
^
/usr/local/include/stdlib.h:217:19: note: insert '_Nullable' if the pointer may
be null
int mkstemp(char *);
^
_Nullable
/usr/local/include/stdlib.h:217:19: note: insert '_Nonnull' if the pointer
should never be null
int mkstemp(char *);
^
_Nonnull
/usr/local/include/stdlib.h:219:29: warning: array parameter is missing a
nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness-on-arrays]
long nrand48(unsigned short[3]) __swift_unavailable("Use arc4random ...
^
/usr/local/include/stdlib.h:219:29: note: insert '_Nullable' if the array
parameter may be null
long nrand48(unsigned short[3]) __swift_unavailable("Use arc4random ...
^
_Nullable
/usr/local/include/stdlib.h:219:29: note: insert '_Nonnull' if the array
parameter should never be null
long nrand48(unsigned short[3]) __swift_unavailable("Use arc4random ...
^
_Nonnull
/usr/local/include/stdlib.h:221:6: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *ptsname(int);
^
/usr/local/include/stdlib.h:221:6: note: insert '_Nullable' if the pointer may
be null
char *ptsname(int);
^
_Nullable
/usr/local/include/stdlib.h:221:6: note: insert '_Nonnull' if the pointer should
never be null
char *ptsname(int);
^
_Nonnull
/usr/local/include/stdlib.h:224:32: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int ptsname_r(int fildes, char *buffer, size_t buflen) __API_AVAILABLE(m...
^
/usr/local/include/stdlib.h:224:32: note: insert '_Nullable' if the pointer may
be null
int ptsname_r(int fildes, char *buffer, size_t buflen) __API_AVAILABLE(m...
^
_Nullable
/usr/local/include/stdlib.h:224:32: note: insert '_Nonnull' if the pointer
should never be null
int ptsname_r(int fildes, char *buffer, size_t buflen) __API_AVAILABLE(m...
^
_Nonnull
/usr/local/include/stdlib.h:227:18: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int putenv(char *) __DARWIN_ALIAS(putenv);
^
/usr/local/include/stdlib.h:227:18: note: insert '_Nullable' if the pointer may
be null
int putenv(char *) __DARWIN_ALIAS(putenv);
^
_Nullable
/usr/local/include/stdlib.h:227:18: note: insert '_Nonnull' if the pointer
should never be null
int putenv(char *) __DARWIN_ALIAS(putenv);
^
_Nonnull
/usr/local/include/stdlib.h:229:22: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int rand_r(unsigned *) __swift_unavailable("Use arc4random instead.");
^
/usr/local/include/stdlib.h:229:22: note: insert '_Nullable' if the pointer may
be null
int rand_r(unsigned *) __swift_unavailable("Use arc4random instead.");
^
_Nullable
/usr/local/include/stdlib.h:229:22: note: insert '_Nonnull' if the pointer
should never be null
int rand_r(unsigned *) __swift_unavailable("Use arc4random instead.");
^
_Nonnull
/usr/local/include/stdlib.h:231:27: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *realpath(const char * __restrict, char * __restrict) __DARWIN_E...
^
/usr/local/include/stdlib.h:231:27: note: insert '_Nullable' if the pointer may
be null
char *realpath(const char * __restrict, char * __restrict) __DARWIN_E...
^
_Nullable
/usr/local/include/stdlib.h:231:27: note: insert '_Nonnull' if the pointer
should never be null
char *realpath(const char * __restrict, char * __restrict) __DARWIN_E...
^
_Nonnull
/usr/local/include/stdlib.h:231:46: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *realpath(const char * __restrict, char * __restrict) __DARWIN_E...
^
/usr/local/include/stdlib.h:231:46: note: insert '_Nullable' if the pointer may
be null
char *realpath(const char * __restrict, char * __restrict) __DARWIN_E...
^
_Nullable
/usr/local/include/stdlib.h:231:46: note: insert '_Nonnull' if the pointer
should never be null
char *realpath(const char * __restrict, char * __restrict) __DARWIN_E...
^
_Nonnull
/usr/local/include/stdlib.h:231:6: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *realpath(const char * __restrict, char * __restrict) __DARWIN_E...
^
/usr/local/include/stdlib.h:231:6: note: insert '_Nullable' if the pointer may
be null
char *realpath(const char * __restrict, char * __restrict) __DARWIN_E...
^
_Nullable
/usr/local/include/stdlib.h:231:6: note: insert '_Nonnull' if the pointer should
never be null
char *realpath(const char * __restrict, char * __restrict) __DARWIN_E...
^
_Nonnull
/usr/local/include/stdlib.h:236:24: warning: array parameter is missing a
nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness-on-arrays]
*seed48(unsigned short[3]);
^
/usr/local/include/stdlib.h:236:24: note: insert '_Nullable' if the array
parameter may be null
*seed48(unsigned short[3]);
^
_Nullable
/usr/local/include/stdlib.h:236:24: note: insert '_Nonnull' if the array
parameter should never be null
*seed48(unsigned short[3]);
^
_Nonnull
/usr/local/include/stdlib.h:236:2: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
*seed48(unsigned short[3]);
^
/usr/local/include/stdlib.h:236:2: note: insert '_Nullable' if the pointer may
be null
*seed48(unsigned short[3]);
^
_Nullable
/usr/local/include/stdlib.h:236:2: note: insert '_Nonnull' if the pointer should
never be null
*seed48(unsigned short[3]);
^
_Nonnull
/usr/local/include/stdlib.h:237:24: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int setenv(const char * __name, const char * __value, int __overwri...
^
/usr/local/include/stdlib.h:237:24: note: insert '_Nullable' if the pointer may
be null
int setenv(const char * __name, const char * __value, int __overwri...
^
_Nullable
/usr/local/include/stdlib.h:237:24: note: insert '_Nonnull' if the pointer
should never be null
int setenv(const char * __name, const char * __value, int __overwri...
^
_Nonnull
/usr/local/include/stdlib.h:237:45: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int setenv(const char * __name, const char * __value, int __overwri...
^
/usr/local/include/stdlib.h:237:45: note: insert '_Nullable' if the pointer may
be null
int setenv(const char * __name, const char * __value, int __overwri...
^
_Nullable
/usr/local/include/stdlib.h:237:45: note: insert '_Nonnull' if the pointer
should never be null
int setenv(const char * __name, const char * __value, int __overwri...
^
_Nonnull
/usr/local/include/stdlib.h:239:25: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void setkey(const char *) __DARWIN_ALIAS(setkey);
^
/usr/local/include/stdlib.h:239:25: note: insert '_Nullable' if the pointer may
be null
void setkey(const char *) __DARWIN_ALIAS(setkey);
^
_Nullable
/usr/local/include/stdlib.h:239:25: note: insert '_Nonnull' if the pointer
should never be null
void setkey(const char *) __DARWIN_ALIAS(setkey);
^
_Nonnull
/usr/local/include/stdlib.h:243:27: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *setstate(const char *);
^
/usr/local/include/stdlib.h:243:27: note: insert '_Nullable' if the pointer may
be null
char *setstate(const char *);
^
_Nullable
/usr/local/include/stdlib.h:243:27: note: insert '_Nonnull' if the pointer
should never be null
char *setstate(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:243:6: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *setstate(const char *);
^
/usr/local/include/stdlib.h:243:6: note: insert '_Nullable' if the pointer may
be null
char *setstate(const char *);
^
_Nullable
/usr/local/include/stdlib.h:243:6: note: insert '_Nonnull' if the pointer should
never be null
char *setstate(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:252:26: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int unsetenv(const char *) __DARWIN_ALIAS(unsetenv);
^
/usr/local/include/stdlib.h:252:26: note: insert '_Nullable' if the pointer may
be null
int unsetenv(const char *) __DARWIN_ALIAS(unsetenv);
^
_Nullable
/usr/local/include/stdlib.h:252:26: note: insert '_Nonnull' if the pointer
should never be null
int unsetenv(const char *) __DARWIN_ALIAS(unsetenv);
^
_Nonnull
/usr/local/include/stdlib.h:265:42: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void arc4random_addrandom(unsigned char * /dat/, int /datlen/)
^
/usr/local/include/stdlib.h:265:42: note: insert '_Nullable' if the pointer may
be null
void arc4random_addrandom(unsigned char * /dat/, int /datlen/)
^
_Nullable
/usr/local/include/stdlib.h:265:42: note: insert '_Nonnull' if the pointer
should never be null
void arc4random_addrandom(unsigned char * /dat/, int /datlen/)
^
_Nonnull
/usr/local/include/stdlib.h:270:27: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void arc4random_buf(void * __buf, size_t __nbytes) __OSX_AVAILABLE_S...
^
/usr/local/include/stdlib.h:270:27: note: insert '_Nullable' if the pointer may
be null
void arc4random_buf(void * __buf, size_t __nbytes) __OSX_AVAILABLE_S...
^
_Nullable
/usr/local/include/stdlib.h:270:27: note: insert '_Nonnull' if the pointer
should never be null
void arc4random_buf(void * __buf, size_t __nbytes) __OSX_AVAILABLE_S...
^
_Nonnull
/usr/local/include/stdlib.h:276:28: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void *bsearch_b(const void *__key, const void *__base, size_t __nel,
^
/usr/local/include/stdlib.h:276:28: note: insert '_Nullable' if the pointer may
be null
void *bsearch_b(const void *__key, const void *__base, size_t __nel,
^
_Nullable
/usr/local/include/stdlib.h:276:28: note: insert '_Nonnull' if the pointer
should never be null
void *bsearch_b(const void *__key, const void *__base, size_t __nel,
^
_Nonnull
/usr/local/include/stdlib.h:276:47: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void *bsearch_b(const void *__key, const void *__base, size_t __nel,
^
/usr/local/include/stdlib.h:276:47: note: insert '_Nullable' if the pointer may
be null
void *bsearch_b(const void *__key, const void *__base, size_t __nel,
^
_Nullable
/usr/local/include/stdlib.h:276:47: note: insert '_Nonnull' if the pointer
should never be null
void *bsearch_b(const void *__key, const void *__base, size_t __nel,
^
_Nonnull
/usr/local/include/stdlib.h:277:59: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
...size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) _...
^
/usr/local/include/stdlib.h:277:59: note: insert '_Nullable' if the pointer may
be null
...size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) _...
^
_Nullable
/usr/local/include/stdlib.h:277:59: note: insert '_Nonnull' if the pointer
should never be null
...size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) _...
^
_Nonnull
/usr/local/include/stdlib.h:277:73: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
...__width, int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AV...
^
/usr/local/include/stdlib.h:277:73: note: insert '_Nullable' if the pointer may
be null
...int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_S...
^
_Nullable
/usr/local/include/stdlib.h:277:73: note: insert '_Nonnull' if the pointer
should never be null
...int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_S...
^
_Nonnull
/usr/local/include/stdlib.h:276:6: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void *bsearch_b(const void *__key, const void *__base, size_t __nel,
^
/usr/local/include/stdlib.h:276:6: note: insert '_Nullable' if the pointer may
be null
void *bsearch_b(const void *__key, const void *__base, size_t __nel,
^
_Nullable
/usr/local/include/stdlib.h:276:6: note: insert '_Nonnull' if the pointer should
never be null
void *bsearch_b(const void *__key, const void *__base, size_t __nel,
^
_Nonnull
/usr/local/include/stdlib.h:281:20: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *cgetcap(char *, const char *, int);
^
/usr/local/include/stdlib.h:281:20: note: insert '_Nullable' if the pointer may
be null
char *cgetcap(char *, const char *, int);
^
_Nullable
/usr/local/include/stdlib.h:281:20: note: insert '_Nonnull' if the pointer
should never be null
char *cgetcap(char *, const char *, int);
^
_Nonnull
/usr/local/include/stdlib.h:281:34: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *cgetcap(char *, const char *, int);
^
/usr/local/include/stdlib.h:281:34: note: insert '_Nullable' if the pointer may
be null
char *cgetcap(char *, const char *, int);
^
_Nullable
/usr/local/include/stdlib.h:281:34: note: insert '_Nonnull' if the pointer
should never be null
char *cgetcap(char *, const char *, int);
^
_Nonnull
/usr/local/include/stdlib.h:281:6: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *cgetcap(char *, const char *, int);
^
/usr/local/include/stdlib.h:281:6: note: insert '_Nullable' if the pointer may
be null
char *cgetcap(char *, const char *, int);
^
_Nullable
/usr/local/include/stdlib.h:281:6: note: insert '_Nonnull' if the pointer should
never be null
char *cgetcap(char *, const char *, int);
^
_Nonnull
/usr/local/include/stdlib.h:283:19: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetent(char **, char **, const char *);
^
/usr/local/include/stdlib.h:283:19: note: insert '_Nullable' if the pointer may
be null
int cgetent(char **, char **, const char *);
^
_Nullable
/usr/local/include/stdlib.h:283:19: note: insert '_Nonnull' if the pointer
should never be null
int cgetent(char **, char **, const char *);
^
_Nonnull
/usr/local/include/stdlib.h:283:20: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetent(char **, char **, const char *);
^
/usr/local/include/stdlib.h:283:20: note: insert '_Nullable' if the pointer may
be null
int cgetent(char **, char **, const char *);
^
_Nullable
/usr/local/include/stdlib.h:283:20: note: insert '_Nonnull' if the pointer
should never be null
int cgetent(char **, char **, const char *);
^
_Nonnull
/usr/local/include/stdlib.h:283:28: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetent(char **, char **, const char *);
^
/usr/local/include/stdlib.h:283:28: note: insert '_Nullable' if the pointer may
be null
int cgetent(char **, char **, const char *);
^
_Nullable
/usr/local/include/stdlib.h:283:28: note: insert '_Nonnull' if the pointer
should never be null
int cgetent(char **, char **, const char *);
^
_Nonnull
/usr/local/include/stdlib.h:283:29: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetent(char **, char **, const char *);
^
/usr/local/include/stdlib.h:283:29: note: insert '_Nullable' if the pointer may
be null
int cgetent(char **, char **, const char *);
^
_Nullable
/usr/local/include/stdlib.h:283:29: note: insert '_Nonnull' if the pointer
should never be null
int cgetent(char **, char **, const char *);
^
_Nonnull
/usr/local/include/stdlib.h:283:43: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetent(char **, char **, const char *);
^
/usr/local/include/stdlib.h:283:43: note: insert '_Nullable' if the pointer may
be null
int cgetent(char **, char **, const char *);
^
_Nullable
/usr/local/include/stdlib.h:283:43: note: insert '_Nonnull' if the pointer
should never be null
int cgetent(char **, char **, const char *);
^
_Nonnull
/usr/local/include/stdlib.h:284:21: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetfirst(char **, char **);
^
/usr/local/include/stdlib.h:284:21: note: insert '_Nullable' if the pointer may
be null
int cgetfirst(char **, char **);
^
_Nullable
/usr/local/include/stdlib.h:284:21: note: insert '_Nonnull' if the pointer
should never be null
int cgetfirst(char **, char **);
^
_Nonnull
/usr/local/include/stdlib.h:284:22: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetfirst(char **, char **);
^
/usr/local/include/stdlib.h:284:22: note: insert '_Nullable' if the pointer may
be null
int cgetfirst(char **, char **);
^
_Nullable
/usr/local/include/stdlib.h:284:22: note: insert '_Nonnull' if the pointer
should never be null
int cgetfirst(char **, char **);
^
_Nonnull
/usr/local/include/stdlib.h:284:30: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetfirst(char **, char **);
^
/usr/local/include/stdlib.h:284:30: note: insert '_Nullable' if the pointer may
be null
int cgetfirst(char **, char **);
^
_Nullable
/usr/local/include/stdlib.h:284:30: note: insert '_Nonnull' if the pointer
should never be null
int cgetfirst(char **, char **);
^
_Nonnull
/usr/local/include/stdlib.h:284:31: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetfirst(char **, char **);
^
/usr/local/include/stdlib.h:284:31: note: insert '_Nullable' if the pointer may
be null
int cgetfirst(char **, char **);
^
_Nullable
/usr/local/include/stdlib.h:284:31: note: insert '_Nonnull' if the pointer
should never be null
int cgetfirst(char **, char **);
^
_Nonnull
/usr/local/include/stdlib.h:285:27: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetmatch(const char *, const char *);
^
/usr/local/include/stdlib.h:285:27: note: insert '_Nullable' if the pointer may
be null
int cgetmatch(const char *, const char *);
^
_Nullable
/usr/local/include/stdlib.h:285:27: note: insert '_Nonnull' if the pointer
should never be null
int cgetmatch(const char *, const char *);
^
_Nonnull
/usr/local/include/stdlib.h:285:41: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetmatch(const char *, const char *);
^
/usr/local/include/stdlib.h:285:41: note: insert '_Nullable' if the pointer may
be null
int cgetmatch(const char *, const char *);
^
_Nullable
/usr/local/include/stdlib.h:285:41: note: insert '_Nonnull' if the pointer
should never be null
int cgetmatch(const char *, const char *);
^
_Nonnull
/usr/local/include/stdlib.h:286:20: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetnext(char **, char **);
^
/usr/local/include/stdlib.h:286:20: note: insert '_Nullable' if the pointer may
be null
int cgetnext(char **, char **);
^
_Nullable
/usr/local/include/stdlib.h:286:20: note: insert '_Nonnull' if the pointer
should never be null
int cgetnext(char **, char **);
^
_Nonnull
/usr/local/include/stdlib.h:286:21: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetnext(char **, char **);
^
/usr/local/include/stdlib.h:286:21: note: insert '_Nullable' if the pointer may
be null
int cgetnext(char **, char **);
^
_Nullable
/usr/local/include/stdlib.h:286:21: note: insert '_Nonnull' if the pointer
should never be null
int cgetnext(char **, char **);
^
_Nonnull
/usr/local/include/stdlib.h:286:29: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetnext(char **, char **);
^
/usr/local/include/stdlib.h:286:29: note: insert '_Nullable' if the pointer may
be null
int cgetnext(char **, char **);
^
_Nullable
/usr/local/include/stdlib.h:286:29: note: insert '_Nonnull' if the pointer
should never be null
int cgetnext(char **, char **);
^
_Nonnull
/usr/local/include/stdlib.h:286:30: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetnext(char **, char **);
^
/usr/local/include/stdlib.h:286:30: note: insert '_Nullable' if the pointer may
be null
int cgetnext(char **, char **);
^
_Nullable
/usr/local/include/stdlib.h:286:30: note: insert '_Nonnull' if the pointer
should never be null
int cgetnext(char **, char **);
^
_Nonnull
/usr/local/include/stdlib.h:287:19: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetnum(char *, const char *, long *);
^
/usr/local/include/stdlib.h:287:19: note: insert '_Nullable' if the pointer may
be null
int cgetnum(char *, const char *, long *);
^
_Nullable
/usr/local/include/stdlib.h:287:19: note: insert '_Nonnull' if the pointer
should never be null
int cgetnum(char *, const char *, long *);
^
_Nonnull
/usr/local/include/stdlib.h:287:33: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetnum(char *, const char *, long *);
^
/usr/local/include/stdlib.h:287:33: note: insert '_Nullable' if the pointer may
be null
int cgetnum(char *, const char *, long *);
^
_Nullable
/usr/local/include/stdlib.h:287:33: note: insert '_Nonnull' if the pointer
should never be null
int cgetnum(char *, const char *, long *);
^
_Nonnull
/usr/local/include/stdlib.h:287:41: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetnum(char *, const char *, long *);
^
/usr/local/include/stdlib.h:287:41: note: insert '_Nullable' if the pointer may
be null
int cgetnum(char *, const char *, long *);
^
_Nullable
/usr/local/include/stdlib.h:287:41: note: insert '_Nonnull' if the pointer
should never be null
int cgetnum(char *, const char *, long *);
^
_Nonnull
/usr/local/include/stdlib.h:288:25: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetset(const char *);
^
/usr/local/include/stdlib.h:288:25: note: insert '_Nullable' if the pointer may
be null
int cgetset(const char *);
^
_Nullable
/usr/local/include/stdlib.h:288:25: note: insert '_Nonnull' if the pointer
should never be null
int cgetset(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:289:19: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetstr(char *, const char *, char **);
^
/usr/local/include/stdlib.h:289:19: note: insert '_Nullable' if the pointer may
be null
int cgetstr(char *, const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:289:19: note: insert '_Nonnull' if the pointer
should never be null
int cgetstr(char *, const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:289:33: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetstr(char *, const char *, char **);
^
/usr/local/include/stdlib.h:289:33: note: insert '_Nullable' if the pointer may
be null
int cgetstr(char *, const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:289:33: note: insert '_Nonnull' if the pointer
should never be null
int cgetstr(char *, const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:289:41: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetstr(char *, const char *, char **);
^
/usr/local/include/stdlib.h:289:41: note: insert '_Nullable' if the pointer may
be null
int cgetstr(char *, const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:289:41: note: insert '_Nonnull' if the pointer
should never be null
int cgetstr(char *, const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:289:42: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetstr(char *, const char *, char **);
^
/usr/local/include/stdlib.h:289:42: note: insert '_Nullable' if the pointer may
be null
int cgetstr(char *, const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:289:42: note: insert '_Nonnull' if the pointer
should never be null
int cgetstr(char *, const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:290:20: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetustr(char *, const char *, char **);
^
/usr/local/include/stdlib.h:290:20: note: insert '_Nullable' if the pointer may
be null
int cgetustr(char *, const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:290:20: note: insert '_Nonnull' if the pointer
should never be null
int cgetustr(char *, const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:290:34: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetustr(char *, const char *, char **);
^
/usr/local/include/stdlib.h:290:34: note: insert '_Nullable' if the pointer may
be null
int cgetustr(char *, const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:290:34: note: insert '_Nonnull' if the pointer
should never be null
int cgetustr(char *, const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:290:42: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetustr(char *, const char *, char **);
^
/usr/local/include/stdlib.h:290:42: note: insert '_Nullable' if the pointer may
be null
int cgetustr(char *, const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:290:42: note: insert '_Nonnull' if the pointer
should never be null
int cgetustr(char *, const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:290:43: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int cgetustr(char *, const char *, char **);
^
/usr/local/include/stdlib.h:290:43: note: insert '_Nullable' if the pointer may
be null
int cgetustr(char *, const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:290:43: note: insert '_Nonnull' if the pointer
should never be null
int cgetustr(char *, const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:293:6: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *devname(dev_t, mode_t);
^
/usr/local/include/stdlib.h:293:6: note: insert '_Nullable' if the pointer may
be null
char *devname(dev_t, mode_t);
^
_Nullable
/usr/local/include/stdlib.h:293:6: note: insert '_Nonnull' if the pointer should
never be null
char *devname(dev_t, mode_t);
^
_Nonnull
/usr/local/include/stdlib.h:294:37: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *devname_r(dev_t, mode_t, char *buf, int len);
^
/usr/local/include/stdlib.h:294:37: note: insert '_Nullable' if the pointer may
be null
char *devname_r(dev_t, mode_t, char *buf, int len);
^
_Nullable
/usr/local/include/stdlib.h:294:37: note: insert '_Nonnull' if the pointer
should never be null
char *devname_r(dev_t, mode_t, char *buf, int len);
^
_Nonnull
/usr/local/include/stdlib.h:294:6: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *devname_r(dev_t, mode_t, char *buf, int len);
^
/usr/local/include/stdlib.h:294:6: note: insert '_Nullable' if the pointer may
be null
char *devname_r(dev_t, mode_t, char *buf, int len);
^
_Nullable
/usr/local/include/stdlib.h:294:6: note: insert '_Nonnull' if the pointer should
never be null
char *devname_r(dev_t, mode_t, char *buf, int len);
^
_Nonnull
/usr/local/include/stdlib.h:295:20: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *getbsize(int *, long *);
^
/usr/local/include/stdlib.h:295:20: note: insert '_Nullable' if the pointer may
be null
char *getbsize(int *, long *);
^
_Nullable
/usr/local/include/stdlib.h:295:20: note: insert '_Nonnull' if the pointer
should never be null
char *getbsize(int *, long *);
^
_Nonnull
/usr/local/include/stdlib.h:295:28: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *getbsize(int *, long *);
^
/usr/local/include/stdlib.h:295:28: note: insert '_Nullable' if the pointer may
be null
char *getbsize(int *, long *);
^
_Nullable
/usr/local/include/stdlib.h:295:28: note: insert '_Nonnull' if the pointer
should never be null
char *getbsize(int *, long *);
^
_Nonnull
/usr/local/include/stdlib.h:295:6: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
char *getbsize(int *, long *);
^
/usr/local/include/stdlib.h:295:6: note: insert '_Nullable' if the pointer may
be null
char *getbsize(int *, long *);
^
_Nullable
/usr/local/include/stdlib.h:295:6: note: insert '_Nonnull' if the pointer should
never be null
char *getbsize(int *, long *);
^
_Nonnull
/usr/local/include/stdlib.h:296:24: warning: array parameter is missing a
nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness-on-arrays]
int getloadavg(double [], int);
^
/usr/local/include/stdlib.h:296:24: note: insert '_Nullable' if the array
parameter may be null
int getloadavg(double [], int);
^
_Nullable
/usr/local/include/stdlib.h:296:24: note: insert '_Nonnull' if the array
parameter should never be null
int getloadavg(double [], int);
^
_Nonnull
/usr/local/include/stdlib.h:298:2: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
*getprogname(void);
^
/usr/local/include/stdlib.h:298:2: note: insert '_Nullable' if the pointer may
be null
*getprogname(void);
^
_Nullable
/usr/local/include/stdlib.h:298:2: note: insert '_Nonnull' if the pointer should
never be null
*getprogname(void);
^
_Nonnull
/usr/local/include/stdlib.h:299:30: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void setprogname(const char *);
^
/usr/local/include/stdlib.h:299:30: note: insert '_Nullable' if the pointer may
be null
void setprogname(const char *);
^
_Nullable
/usr/local/include/stdlib.h:299:30: note: insert '_Nonnull' if the pointer
should never be null
void setprogname(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:309:20: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int heapsort(void *__base, size_t __nel, size_t __width,
^
/usr/local/include/stdlib.h:309:20: note: insert '_Nullable' if the pointer may
be null
int heapsort(void *__base, size_t __nel, size_t __width,
^
_Nullable
/usr/local/include/stdlib.h:309:20: note: insert '_Nonnull' if the pointer
should never be null
int heapsort(void __base, size_t __nel, size_t __width,
^
_Nonnull
/usr/local/include/stdlib.h:310:43: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nonnull __compar)(const void *, const void ));
^
/usr/local/include/stdlib.h:310:43: note: insert '_Nullable' if the pointer may
be null
int (
_Nonnull __compar)(const void *, const void ));
^
_Nullable
/usr/local/include/stdlib.h:310:43: note: insert '_Nonnull' if the pointer
should never be null
int (
_Nonnull __compar)(const void *, const void ));
^
_Nonnull
/usr/local/include/stdlib.h:310:57: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nonnull __compar)(const void *, const void ));
^
/usr/local/include/stdlib.h:310:57: note: insert '_Nullable' if the pointer may
be null
int (
_Nonnull __compar)(const void *, const void ));
^
_Nullable
/usr/local/include/stdlib.h:310:57: note: insert '_Nonnull' if the pointer
should never be null
int (
_Nonnull __compar)(const void *, const void *));
^
_Nonnull
/usr/local/include/stdlib.h:312:22: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int heapsort_b(void *__base, size_t __nel, size_t __width,
^
/usr/local/include/stdlib.h:312:22: note: insert '_Nullable' if the pointer may
be null
int heapsort_b(void *__base, size_t __nel, size_t __width,
^
_Nullable
/usr/local/include/stdlib.h:312:22: note: insert '_Nonnull' if the pointer
should never be null
int heapsort_b(void *__base, size_t __nel, size_t __width,
^
_Nonnull
/usr/local/include/stdlib.h:313:43: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (^ _Nonnull __compar)(const void *, const void *) __sort...
^
/usr/local/include/stdlib.h:313:43: note: insert '_Nullable' if the pointer may
be null
int (^ _Nonnull __compar)(const void *, const void *) __sort...
^
_Nullable
/usr/local/include/stdlib.h:313:43: note: insert '_Nonnull' if the pointer
should never be null
int (^ _Nonnull __compar)(const void *, const void *) __sort...
^
_Nonnull
/usr/local/include/stdlib.h:313:57: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
...int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
/usr/local/include/stdlib.h:313:57: note: insert '_Nullable' if the pointer may
be null
...int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nullable
/usr/local/include/stdlib.h:313:57: note: insert '_Nonnull' if the pointer
should never be null
...int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nonnull
/usr/local/include/stdlib.h:316:21: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int mergesort(void *__base, size_t __nel, size_t __width,
^
/usr/local/include/stdlib.h:316:21: note: insert '_Nullable' if the pointer may
be null
int mergesort(void *__base, size_t __nel, size_t __width,
^
_Nullable
/usr/local/include/stdlib.h:316:21: note: insert '_Nonnull' if the pointer
should never be null
int mergesort(void __base, size_t __nel, size_t __width,
^
_Nonnull
/usr/local/include/stdlib.h:317:43: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nonnull __compar)(const void *, const void ));
^
/usr/local/include/stdlib.h:317:43: note: insert '_Nullable' if the pointer may
be null
int (
_Nonnull __compar)(const void *, const void ));
^
_Nullable
/usr/local/include/stdlib.h:317:43: note: insert '_Nonnull' if the pointer
should never be null
int (
_Nonnull __compar)(const void *, const void ));
^
_Nonnull
/usr/local/include/stdlib.h:317:57: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nonnull __compar)(const void *, const void ));
^
/usr/local/include/stdlib.h:317:57: note: insert '_Nullable' if the pointer may
be null
int (
_Nonnull __compar)(const void *, const void ));
^
_Nullable
/usr/local/include/stdlib.h:317:57: note: insert '_Nonnull' if the pointer
should never be null
int (
_Nonnull __compar)(const void *, const void *));
^
_Nonnull
/usr/local/include/stdlib.h:319:23: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int mergesort_b(void *__base, size_t __nel, size_t __width,
^
/usr/local/include/stdlib.h:319:23: note: insert '_Nullable' if the pointer may
be null
int mergesort_b(void *__base, size_t __nel, size_t __width,
^
_Nullable
/usr/local/include/stdlib.h:319:23: note: insert '_Nonnull' if the pointer
should never be null
int mergesort_b(void *__base, size_t __nel, size_t __width,
^
_Nonnull
/usr/local/include/stdlib.h:320:43: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (^ _Nonnull __compar)(const void *, const void *) __sort...
^
/usr/local/include/stdlib.h:320:43: note: insert '_Nullable' if the pointer may
be null
int (^ _Nonnull __compar)(const void *, const void *) __sort...
^
_Nullable
/usr/local/include/stdlib.h:320:43: note: insert '_Nonnull' if the pointer
should never be null
int (^ _Nonnull __compar)(const void *, const void *) __sort...
^
_Nonnull
/usr/local/include/stdlib.h:320:57: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
...int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
/usr/local/include/stdlib.h:320:57: note: insert '_Nullable' if the pointer may
be null
...int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nullable
/usr/local/include/stdlib.h:320:57: note: insert '_Nonnull' if the pointer
should never be null
...int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nonnull
/usr/local/include/stdlib.h:323:18: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void psort(void *__base, size_t __nel, size_t __width,
^
/usr/local/include/stdlib.h:323:18: note: insert '_Nullable' if the pointer may
be null
void psort(void *__base, size_t __nel, size_t __width,
^
_Nullable
/usr/local/include/stdlib.h:323:18: note: insert '_Nonnull' if the pointer
should never be null
void psort(void __base, size_t __nel, size_t __width,
^
_Nonnull
/usr/local/include/stdlib.h:324:43: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nonnull __compar)(const void *, const void ))
^
/usr/local/include/stdlib.h:324:43: note: insert '_Nullable' if the pointer may
be null
int (
_Nonnull __compar)(const void *, const void ))
^
_Nullable
/usr/local/include/stdlib.h:324:43: note: insert '_Nonnull' if the pointer
should never be null
int (
_Nonnull __compar)(const void *, const void ))
^
_Nonnull
/usr/local/include/stdlib.h:324:57: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nonnull __compar)(const void *, const void ))
^
/usr/local/include/stdlib.h:324:57: note: insert '_Nullable' if the pointer may
be null
int (
_Nonnull __compar)(const void *, const void ))
^
_Nullable
/usr/local/include/stdlib.h:324:57: note: insert '_Nonnull' if the pointer
should never be null
int (
_Nonnull __compar)(const void *, const void *))
^
_Nonnull
/usr/local/include/stdlib.h:327:20: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void psort_b(void *__base, size_t __nel, size_t __width,
^
/usr/local/include/stdlib.h:327:20: note: insert '_Nullable' if the pointer may
be null
void psort_b(void *__base, size_t __nel, size_t __width,
^
_Nullable
/usr/local/include/stdlib.h:327:20: note: insert '_Nonnull' if the pointer
should never be null
void psort_b(void *__base, size_t __nel, size_t __width,
^
_Nonnull
/usr/local/include/stdlib.h:328:43: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (^ _Nonnull __compar)(const void *, const void *) __sort...
^
/usr/local/include/stdlib.h:328:43: note: insert '_Nullable' if the pointer may
be null
int (^ _Nonnull __compar)(const void *, const void *) __sort...
^
_Nullable
/usr/local/include/stdlib.h:328:43: note: insert '_Nonnull' if the pointer
should never be null
int (^ _Nonnull __compar)(const void *, const void *) __sort...
^
_Nonnull
/usr/local/include/stdlib.h:328:57: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
...int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
/usr/local/include/stdlib.h:328:57: note: insert '_Nullable' if the pointer may
be null
...int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nullable
/usr/local/include/stdlib.h:328:57: note: insert '_Nonnull' if the pointer
should never be null
...int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nonnull
/usr/local/include/stdlib.h:331:20: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void psort_r(void *__base, size_t __nel, size_t __width, void *,
^
/usr/local/include/stdlib.h:331:20: note: insert '_Nullable' if the pointer may
be null
void psort_r(void *__base, size_t __nel, size_t __width, void *,
^
_Nullable
/usr/local/include/stdlib.h:331:20: note: insert '_Nonnull' if the pointer
should never be null
void psort_r(void *__base, size_t __nel, size_t __width, void *,
^
_Nonnull
/usr/local/include/stdlib.h:331:64: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void psort_r(void *__base, size_t __nel, size_t __width, void *,
^
/usr/local/include/stdlib.h:331:64: note: insert '_Nullable' if the pointer may
be null
void psort_r(void *__base, size_t __nel, size_t __width, void *,
^
_Nullable
/usr/local/include/stdlib.h:331:64: note: insert '_Nonnull' if the pointer
should never be null
void psort_r(void *__base, size_t __nel, size_t __width, void ,
^
_Nonnull
/usr/local/include/stdlib.h:332:37: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nonnull __compar)(void *, const void *, const void ))
^
/usr/local/include/stdlib.h:332:37: note: insert '_Nullable' if the pointer may
be null
int (
_Nonnull __compar)(void *, const void *, const void ))
^
_Nullable
/usr/local/include/stdlib.h:332:37: note: insert '_Nonnull' if the pointer
should never be null
int (
_Nonnull __compar)(void *, const void *, const void ))
^
_Nonnull
/usr/local/include/stdlib.h:332:51: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nonnull __compar)(void *, const void *, const void ))
^
/usr/local/include/stdlib.h:332:51: note: insert '_Nullable' if the pointer may
be null
int (
_Nonnull __compar)(void *, const void *, const void ))
^
_Nullable
/usr/local/include/stdlib.h:332:51: note: insert '_Nonnull' if the pointer
should never be null
int (
_Nonnull __compar)(void *, const void *, const void ))
^
_Nonnull
/usr/local/include/stdlib.h:332:65: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nonnull __compar)(void *, const void *, const void ))
^
/usr/local/include/stdlib.h:332:65: note: insert '_Nullable' if the pointer may
be null
...int (
_Nonnull __compar)(void *, const void *, const void ))
^
_Nullable
/usr/local/include/stdlib.h:332:65: note: insert '_Nonnull' if the pointer
should never be null
int (
_Nonnull __compar)(void *, const void *, const void *))
^
_Nonnull
/usr/local/include/stdlib.h:335:20: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void qsort_b(void *__base, size_t __nel, size_t __width,
^
/usr/local/include/stdlib.h:335:20: note: insert '_Nullable' if the pointer may
be null
void qsort_b(void *__base, size_t __nel, size_t __width,
^
_Nullable
/usr/local/include/stdlib.h:335:20: note: insert '_Nonnull' if the pointer
should never be null
void qsort_b(void *__base, size_t __nel, size_t __width,
^
_Nonnull
/usr/local/include/stdlib.h:336:43: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (^ _Nonnull __compar)(const void *, const void *) __sort...
^
/usr/local/include/stdlib.h:336:43: note: insert '_Nullable' if the pointer may
be null
int (^ _Nonnull __compar)(const void *, const void *) __sort...
^
_Nullable
/usr/local/include/stdlib.h:336:43: note: insert '_Nonnull' if the pointer
should never be null
int (^ _Nonnull __compar)(const void *, const void *) __sort...
^
_Nonnull
/usr/local/include/stdlib.h:336:57: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
...int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
/usr/local/include/stdlib.h:336:57: note: insert '_Nullable' if the pointer may
be null
...int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nullable
/usr/local/include/stdlib.h:336:57: note: insert '_Nonnull' if the pointer
should never be null
...int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nonnull
/usr/local/include/stdlib.h:339:20: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void qsort_r(void *__base, size_t __nel, size_t __width, void *,
^
/usr/local/include/stdlib.h:339:20: note: insert '_Nullable' if the pointer may
be null
void qsort_r(void *__base, size_t __nel, size_t __width, void *,
^
_Nullable
/usr/local/include/stdlib.h:339:20: note: insert '_Nonnull' if the pointer
should never be null
void qsort_r(void *__base, size_t __nel, size_t __width, void *,
^
_Nonnull
/usr/local/include/stdlib.h:339:64: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void qsort_r(void *__base, size_t __nel, size_t __width, void *,
^
/usr/local/include/stdlib.h:339:64: note: insert '_Nullable' if the pointer may
be null
void qsort_r(void *__base, size_t __nel, size_t __width, void *,
^
_Nullable
/usr/local/include/stdlib.h:339:64: note: insert '_Nonnull' if the pointer
should never be null
void qsort_r(void *__base, size_t __nel, size_t __width, void ,
^
_Nonnull
/usr/local/include/stdlib.h:340:37: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nonnull __compar)(void *, const void *, const void ));
^
/usr/local/include/stdlib.h:340:37: note: insert '_Nullable' if the pointer may
be null
int (
_Nonnull __compar)(void *, const void *, const void ));
^
_Nullable
/usr/local/include/stdlib.h:340:37: note: insert '_Nonnull' if the pointer
should never be null
int (
_Nonnull __compar)(void *, const void *, const void ));
^
_Nonnull
/usr/local/include/stdlib.h:340:51: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nonnull __compar)(void *, const void *, const void ));
^
/usr/local/include/stdlib.h:340:51: note: insert '_Nullable' if the pointer may
be null
int (
_Nonnull __compar)(void *, const void *, const void ));
^
_Nullable
/usr/local/include/stdlib.h:340:51: note: insert '_Nonnull' if the pointer
should never be null
int (
_Nonnull __compar)(void *, const void *, const void ));
^
_Nonnull
/usr/local/include/stdlib.h:340:65: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int (
_Nonnull __compar)(void *, const void *, const void ));
^
/usr/local/include/stdlib.h:340:65: note: insert '_Nullable' if the pointer may
be null
...int (
_Nonnull __compar)(void *, const void *, const void ));
^
_Nullable
/usr/local/include/stdlib.h:340:65: note: insert '_Nonnull' if the pointer
should never be null
int (
_Nonnull __compar)(void *, const void *, const void *));
^
_Nonnull
/usr/local/include/stdlib.h:341:36: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int radixsort(const unsigned char **__base, int __nel, const unsign...
^
/usr/local/include/stdlib.h:341:36: note: insert '_Nullable' if the pointer may
be null
int radixsort(const unsigned char **__base, int __nel, const unsign...
^
_Nullable
/usr/local/include/stdlib.h:341:36: note: insert '_Nonnull' if the pointer
should never be null
int radixsort(const unsigned char **__base, int __nel, const unsign...
^
_Nonnull
/usr/local/include/stdlib.h:341:37: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int radixsort(const unsigned char **__base, int __nel, const unsign...
^
/usr/local/include/stdlib.h:341:37: note: insert '_Nullable' if the pointer may
be null
int radixsort(const unsigned char **__base, int __nel, const unsign...
^
_Nullable
/usr/local/include/stdlib.h:341:37: note: insert '_Nonnull' if the pointer
should never be null
int radixsort(const unsigned char **__base, int __nel, const unsign...
^
_Nonnull
/usr/local/include/stdlib.h:341:77: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
...unsigned char **__base, int __nel, const unsigned char *__table,
^
/usr/local/include/stdlib.h:341:77: note: insert '_Nullable' if the pointer may
be null
...unsigned char **__base, int __nel, const unsigned char *__table,
^
_Nullable
/usr/local/include/stdlib.h:341:77: note: insert '_Nonnull' if the pointer
should never be null
...unsigned char **__base, int __nel, const unsigned char *__table,
^
_Nonnull
/usr/local/include/stdlib.h:343:24: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int rpmatch(const char *)
^
/usr/local/include/stdlib.h:343:24: note: insert '_Nullable' if the pointer may
be null
int rpmatch(const char *)
^
_Nullable
/usr/local/include/stdlib.h:343:24: note: insert '_Nonnull' if the pointer
should never be null
int rpmatch(const char *)
^
_Nonnull
/usr/local/include/stdlib.h:345:37: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int sradixsort(const unsigned char **__base, int __nel, const unsig...
^
/usr/local/include/stdlib.h:345:37: note: insert '_Nullable' if the pointer may
be null
int sradixsort(const unsigned char **__base, int __nel, const unsig...
^
_Nullable
/usr/local/include/stdlib.h:345:37: note: insert '_Nonnull' if the pointer
should never be null
int sradixsort(const unsigned char **__base, int __nel, const unsig...
^
_Nonnull
/usr/local/include/stdlib.h:345:38: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
int sradixsort(const unsigned char **__base, int __nel, const unsig...
^
/usr/local/include/stdlib.h:345:38: note: insert '_Nullable' if the pointer may
be null
int sradixsort(const unsigned char **__base, int __nel, const unsig...
^
_Nullable
/usr/local/include/stdlib.h:345:38: note: insert '_Nonnull' if the pointer
should never be null
int sradixsort(const unsigned char **__base, int __nel, const unsig...
^
_Nonnull
/usr/local/include/stdlib.h:345:78: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
...unsigned char **__base, int __nel, const unsigned char *__table,
^
/usr/local/include/stdlib.h:345:78: note: insert '_Nullable' if the pointer may
be null
...unsigned char **__base, int __nel, const unsigned char *__table,
^
_Nullable
/usr/local/include/stdlib.h:345:78: note: insert '_Nonnull' if the pointer
should never be null
...unsigned char **__base, int __nel, const unsigned char *__table,
^
_Nonnull
/usr/local/include/stdlib.h:349:21: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void *reallocf(void *__ptr, size_t __size) __alloc_size(2);
^
/usr/local/include/stdlib.h:349:21: note: insert '_Nullable' if the pointer may
be null
void *reallocf(void *__ptr, size_t __size) __alloc_size(2);
^
_Nullable
/usr/local/include/stdlib.h:349:21: note: insert '_Nonnull' if the pointer
should never be null
void *reallocf(void *__ptr, size_t __size) __alloc_size(2);
^
_Nonnull
/usr/local/include/stdlib.h:349:6: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
void *reallocf(void *__ptr, size_t __size) __alloc_size(2);
^
/usr/local/include/stdlib.h:349:6: note: insert '_Nullable' if the pointer may
be null
void *reallocf(void *__ptr, size_t __size) __alloc_size(2);
^
_Nullable
/usr/local/include/stdlib.h:349:6: note: insert '_Nonnull' if the pointer should
never be null
void *reallocf(void *__ptr, size_t __size) __alloc_size(2);
^
_Nonnull
/usr/local/include/stdlib.h:352:21: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
strtoq(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:352:21: note: insert '_Nullable' if the pointer may
be null
strtoq(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:352:21: note: insert '_Nonnull' if the pointer
should never be null
strtoq(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:352:34: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
strtoq(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:352:34: note: insert '_Nullable' if the pointer may
be null
strtoq(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:352:34: note: insert '_Nonnull' if the pointer
should never be null
strtoq(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:352:35: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
strtoq(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:352:35: note: insert '_Nullable' if the pointer may
be null
strtoq(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:352:35: note: insert '_Nonnull' if the pointer
should never be null
strtoq(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:354:22: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
strtouq(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:354:22: note: insert '_Nullable' if the pointer may
be null
strtouq(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:354:22: note: insert '_Nonnull' if the pointer
should never be null
strtouq(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:354:35: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
strtouq(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:354:35: note: insert '_Nullable' if the pointer may
be null
strtouq(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:354:35: note: insert '_Nonnull' if the pointer
should never be null
strtouq(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:354:36: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
strtouq(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:354:36: note: insert '_Nullable' if the pointer may
be null
strtouq(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:354:36: note: insert '_Nonnull' if the pointer
should never be null
strtouq(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:356:13: warning: pointer is missing a nullability
type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
extern char suboptarg; / getsubopt(3) external variable */
^
/usr/local/include/stdlib.h:356:13: note: insert '_Nullable' if the pointer may
be null
extern char suboptarg; / getsubopt(3) external variable */
^
_Nullable
/usr/local/include/stdlib.h:356:13: note: insert '_Nonnull' if the pointer
should never be null
extern char suboptarg; / getsubopt(3) external variable */
^
_Nonnull
In file included from /Users/Kyofabral/switch-lan-play/src/pcaploop.cpp:5:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_map:408:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:19:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:314:9: error:
no member named 'signbit' in the global namespace; did you mean 'sigwait'?
using ::signbit;
~~^
/usr/local/include/signal.h:101:5: note: 'sigwait' declared here
int sigwait(const sigset_t * __restrict, int * __restrict) _DARWIN...
^
In file included from /Users/Kyofabral/switch-lan-play/src/pcaploop.cpp:5:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_map:408:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:19:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:315:9: error:
no member named 'fpclassify' in the global namespace
using ::fpclassify;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:316:9: error:
no member named 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
~~^
/usr/local/include/math.h:749:12: note: 'finite' declared here
extern int finite(double)
^
In file included from /Users/Kyofabral/switch-lan-play/src/pcaploop.cpp:5:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_map:408:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:19:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:317:9: error:
no member named 'isinf' in the global namespace
using ::isinf;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:318:9: error:
no member named 'isnan' in the global namespace
using ::isnan;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:319:9: error:
no member named 'isnormal' in the global namespace
using ::isnormal;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:320:7: error:
no member named 'isgreater' in the global namespace; did you mean
'::std::greater'?
using ::isgreater;
^~
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional:728:29: note:
'::std::greater' declared here
struct _LIBCPP_TEMPLATE_VIS greater : binary_function<_Tp, _Tp, bool>
^
In file included from /Users/Kyofabral/switch-lan-play/src/pcaploop.cpp:5:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_map:408:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:19:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:321:7: error:
no member named 'isgreaterequal' in the global namespace; did you mean
'::std::greater_equal'?
using ::isgreaterequal;
^~
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional:757:29: note:
'::std::greater_equal' declared here
struct _LIBCPP_TEMPLATE_VIS greater_equal : binary_function<_Tp, _Tp, bool>
^
In file included from /Users/Kyofabral/switch-lan-play/src/pcaploop.cpp:5:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_map:408:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:19:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:322:9: error:
no member named 'isless' in the global namespace
using ::isless;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:323:9: error:
no member named 'islessequal' in the global namespace
using ::islessequal;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:324:9: error:
no member named 'islessgreater' in the global namespace
using ::islessgreater;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:325:9: error:
no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:326:9: error:
no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
216 warnings and 13 errors generated.
make[2]: *** [src/CMakeFiles/lan-play.dir/pcaploop.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/lan-play.dir/all] Error 2
make: *** [all] Error 2

Generated 1 error when running `make` command on Mac

# User @ localhost in ~/Desktop/Self/Switch/switch-lan-play-0.0.6 [18:59:32]
$ mkdir build

# User @ localhost in ~/Desktop/Self/Switch/switch-lan-play-0.0.6 [18:59:39]
$ cd build

# User @ localhost in ~/Desktop/Self/Switch/switch-lan-play-0.0.6/build [18:59:40]
$ cmake ..
-- The C compiler identification is AppleClang 10.0.0.10001044
-- The CXX compiler identification is AppleClang 10.0.0.10001044
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Found PCAP: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libpcap.tbd
-- Performing Test PCAP_LINKS_SOLO
-- Performing Test PCAP_LINKS_SOLO - Success
-- Looking for pcap_get_pfring_id
-- Looking for pcap_get_pfring_id - not found
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/mac/Desktop/Self/Switch/switch-lan-play-0.0.6/build

# User @ localhost in ~/Desktop/Self/Switch/switch-lan-play-0.0.6/build [18:59:50]
$ make
Scanning dependencies of target lwip_lib
[  2%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/udp.c.o
[  5%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/memp.c.o
[  7%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/init.c.o
[ 10%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/pbuf.c.o
[ 12%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/tcp.c.o
[ 15%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/tcp_out.c.o
[ 17%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/sys.c.o
[ 20%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/netif.c.o
[ 22%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/def.c.o
[ 25%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/mem.c.o
[ 27%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/tcp_in.c.o
[ 30%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/stats.c.o
[ 32%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ip.c.o
[ 35%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/timeouts.c.o
[ 37%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/inet_chksum.c.o
[ 40%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv4/icmp.c.o
[ 42%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv4/ip4.c.o
[ 45%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv4/ip4_addr.c.o
[ 47%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv4/ip4_frag.c.o
[ 50%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv6/ip6.c.o
[ 52%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv6/nd6.c.o
[ 55%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv6/icmp6.c.o
[ 57%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv6/ip6_addr.c.o
[ 60%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv6/ip6_frag.c.o
[ 62%] Linking C static library liblwip_lib.a
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: liblwip_lib.a(udp.c.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: liblwip_lib.a(sys.c.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: liblwip_lib.a(stats.c.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: liblwip_lib.a(udp.c.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: liblwip_lib.a(sys.c.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: liblwip_lib.a(stats.c.o) has no symbols
[ 62%] Built target lwip_lib
Scanning dependencies of target lan-play
[ 65%] Building C object CMakeFiles/lan-play.dir/base/debug.c.o
[ 67%] Building C object CMakeFiles/lan-play.dir/base/llog.c.o
[ 70%] Building C object CMakeFiles/lan-play.dir/src/main.c.o
In file included from /Users/mac/Desktop/Self/Switch/switch-lan-play-0.0.6/src/main.c:1:
/Users/mac/Desktop/Self/Switch/switch-lan-play-0.0.6/src/lan-play.h:18:10: fatal error:
      'uv.h' file not found
#include <uv.h>
         ^~~~~~
1 error generated.
make[2]: *** [CMakeFiles/lan-play.dir/src/main.c.o] Error 1
make[1]: *** [CMakeFiles/lan-play.dir/all] Error 2
make: *** [all] Error 2

I didn't find a solution on Google. Do you konw why?

Issues while running lan-play command

Opening en0
[DEBUG]: filter: net 10.13.0.0/16
Get MAC: XX:XX:XX:XX:XX:XX
[DEBUG]: packet init buffer 0x108466c00
Server IP: XXX.XXX.XXX.XXX
pcap loop start
[ERROR]: lan_play_packet_send -1
[ERROR]: lan_play_packet_send -1
[ERROR]: lan_play_packet_send -1
[ERROR]: lan_play_packet_send -1
[ERROR]: lan_play_packet_send -1
[ERROR]: lan_play_packet_send -1
[ERROR]: lan_play_packet_send -1

Then once I start to connect to the internet on the switch it starts to output:

[ERROR]: Failed to call send_ether in lan_client_arp_for_each_cb
[ERROR]: lan_play_packet_send -1
[ERROR]: Failed to call send_ether in lan_client_arp_for_each_cb
[ERROR]: lan_play_packet_send -1

This is happening on Mac OS

Server doesn't load on Windows

Hi,

I've tried to launch the server but I've encountered an error (latest Github version of the project).

I've used Nodist to install Node.js and I have tried the commands listed on the "readme" of th Switch Lan Play project, the "npm install" and "npm run build" worked but the "npm start" or "npm run server" give me the errors listed on the "npm-debug.log" file attached to this message.

Thanks for your help.

npm-debug.log

socks5 proxy support

  • Make a interface in proxy.h
  • Move tcp code in gateway.c to proxy_direct_*
  • Add socks5 implement to proxy.c

libpcap

Why you have to use an ancient version of libpcap0.8 when its now at 1.9? I want to use this software on my Arch dist but I don't want to downgrade my libpcap and break other stuff :(

Edit:

Incase anyone else has this issue, all I did was create a symlink like this:

$: cd /usr/lib/
$: sudo ln -s /usr/lib/libpcap.so libpcap.so.0.8

Assuming that your libpcap is called libpcap.so and in your /usr/lib/ directory.

Question: Linux client

Hello,

Is there Linux client in mind so in the future we can run daemon and forget about setup? :)

C1189 error with VS2019

I tried to build switch-lan-play 0.2.1 with VS2019.

git clone https://github.com/spacemeowx2/switch-lan-play.git
cd switch-lan-play
mkdir build
cd build
cmake ..
MSBuild SwitchLanPlay.sln

However these error happened.

"C:\Users\me\Desktop\switch-lan-play\build\SwitchLanPlay.sln" (default target) (1) ->
"C:\Users\me\Desktop\switch-lan-play\build\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
"C:\Users\me\Desktop\switch-lan-play\build\src\lan-play.vcxproj.metaproj" (default target) (6) ->
"C:\Users\me\Desktop\switch-lan-play\build\src\lan-play.vcxproj" (default target) (15) ->
(ClCompile target) ->
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\include\xkeycheck.h(257,1): e
rror C1189:  #error:  The C++ Standard Library forbids macroizing the keyword "inline". Enable warning C4005 to find th
e forbidden define. [C:\Users\me\Desktop\switch-lan-play\build\src\lan-play.vcxproj]

How to fix it?

lan play as homebrew on switch

Hi, why isn't possible to implement a homebrew that runs on switch and has the same functionality as lan play for Windows?
That way you don't need a PC.

fix random connection drops

When playing more than 5-6 people in the same lobby, the server kick them. This problem occurs on every server. On random days. Even if the server is hosted in our country and has a good connection.

关于是不是arp攻击

百度我的ID和我的提问有关系吗?对,我就是知识浅薄,我知识不浅薄也不会舔着脸来这里寻求帮助啊。或许我遇到的就不是arp攻击。您不愿意讲也可以。句句话火药味我是欠你钱了还是怎么?arp攻击有没有不知道。人身攻击先来了~可怕~~~

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.