mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-11 11:38:27 +02:00
On Ubuntu 20.10, we build against ModemManager 1.14.0 and get a compiler warning:
../src/devices/wwan/nm-modem-broadband.c: In function 'try_create_connect_properties':
../src/devices/wwan/nm-modem-broadband.c:492:2: error: 'MMModemCapabilityDeprecated' is deprecated [-Werror=deprecated-declarations]
492 | if (MODEM_CAPS_3GPP (ctx->caps)) {
| ^~
Suppress it.
An alternative would be to drop the flag entirely. It seems the flag
was never used (and never will be used). But if that's true, there is
little harm done checking it. If it's not true, we better keep checking
for older versions.
|
||
|---|---|---|
| .. | ||
| tests | ||
| libnm-wwan.ver | ||
| meson.build | ||
| nm-device-modem.c | ||
| nm-device-modem.h | ||
| nm-modem-broadband.c | ||
| nm-modem-broadband.h | ||
| nm-modem-manager.c | ||
| nm-modem-manager.h | ||
| nm-modem-ofono.c | ||
| nm-modem-ofono.h | ||
| nm-modem.c | ||
| nm-modem.h | ||
| nm-service-providers.c | ||
| nm-service-providers.h | ||
| nm-wwan-factory.c | ||