mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-27 15:16:03 +00:00
45332ab38c
It used to fail with this error after building the depfiles: clang -DLWIP_NOASSERT_ON_ERROR -I/usr/include/check -I../../../../src/../test/unit -Wno-gnu-zero-variadic-macro-arguments -g -DLWIP_DEBUG -Wall -pedantic -Werror -Wparentheses -Wsequence-point -Wswitch-default -Wextra -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wc++-compat -Wwrite-strings -Wold-style-definition -Wcast-align -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Wunreachable-code -Wuninitialized -Wmissing-prototypes -Wredundant-decls -Waggregate-return -Wlogical-not-parentheses -fsanitize=address -fsanitize=undefined -fno-sanitize=alignment -Wdocumentation -Wno-documentation-deprecated-sync -I. -I../../.. -I../../../../src/include -I../../../ports/unix/port/include -c clang-11: error: no input files Also don't include depfiles while cleaning, to avoid generating them just to remove them. |
||
---|---|---|
.. | ||
check | ||
example_app | ||
lib | ||
port | ||
Common.mk | ||
Filelists.cmake | ||
README | ||
setup-tapif |
This port contains infrastructure and examples for running lwIP on Unix-like operating systems (Linux, OpenBSD, cygwin). Much of this is targeted towards testing lwIP applications. * port/sys_arch.c, port/perf.c, port/include/arch/: Generic platform porting, for both states of NO_SYS. (Mapping debugging to printf, providing sys_now & co from the system time etc.) * check: Runs the unit tests shipped with main lwIP on the Unix port. * port/netif, port/include/netif: Various network interface implementations and their helpers, some explicitly for Unix infrastructure, some generic (but most useful on an easy to debug system): * fifo: Helper for sio * list: Helper for unixif * pcapif: Network interface that replays packages from a PCAP dump file, and discards packages sent out from it * sio: Mapping Unix character devices to lwIP's sio mechanisms * tapif: Network interface that is mapped to a tap interface (Unix user space layer 2 network device). Uses lwIP threads.