File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ GIT_REVISION ?= $(shell git rev-parse --short HEAD)
99CFLAGS := -Werror -Wall -g -I$(CURDIR ) -D_GNU_SOURCE
1010LDLIBS := -lpthread -lstdc++
1111
12+ # Print #warnings
13+ CFLAGS += -Wno-error=cpp
14+
1215# libdatachannel deprecations on bookworm
1316# error: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0
1417CFLAGS += -Wno-error=deprecated-declarations
Original file line number Diff line number Diff line change @@ -13,6 +13,13 @@ extern "C" {
1313
1414};
1515
16+ #ifdef USE_RTSP
17+ #if !__has_include(<RTSPServerSupportingHTTPStreaming.hh>)
18+ #undef USE_RTSP
19+ #warning "Missing RTSPServerSupportingHTTPStreaming.hh header. The RTSP support will be missing."
20+ #endif // RTSPServerSupportingHTTPStreaming.hh
21+ #endif // USE_RTSP
22+
1623#ifdef USE_RTSP
1724
1825#include < string>
You can’t perform that action at this time.
0 commit comments