sdp-cpp
sdp-cpp copied to clipboard
C++ SDP library with ABNF strict parsing
I have an SDP file that contains an "a=source-filter: incl IN IP4 239.1.2.1 192.168.10.50" line, which doesn't seem to get parsed correctly, however a null attribute is added is added...
Hello! I suppose there are incorrect cleanup of rules vector in Rule::operator=() here: https://github.com/medooze/sdp-cpp/blob/4bf23de4cf6ade65fedb68a8c8a5baf4bd6a3e6d/src/abnf/Rule.cpp#L50 Shouldn't there be clear() insted of empty()? In any case calling empty() without using it's return...
Hi Sergio, I found an issue on Ubuntu 22.04 with gcc 11 on x86-64. It seems as the std::regex implementation has issues if ranges over the sign border (0x7F to...
build `libsdp-cpp.so` with ```bash make -f Makefile CONF=Release ``` and compile parser.cpp with ```bash g++ -I./include -L./dist/Release/GNU-Linux tests/parser.cpp -lsdp-cpp ``` outputs ``` /usr/bin/ld: ./dist/Debug/GNU-Linux/libsdp-cpp.so: undefined reference to `abnf::Rule_private::parse(abnf::ParserContext&)' /usr/bin/ld: ./dist/Debug/GNU-Linux/libsdp-cpp.so:...