master fails to build with gcc 8.2
When trying to build the master branch in GNOME CI, I see the following error:
mm-port-probe.c: In function ‘wdm_probe_mbim’:
mm-port-probe.c:586:5: error: too many arguments to function ‘mm_port_mbim_open’
mm_port_mbim_open (ctx->mbim_port,
^~~~~~~~~~~~~~~~~
In file included from mm-base-modem.h:43,
from mm-device.h:23,
from mm-port-probe.h:30,
from mm-port-probe.c:27:
mm-port-mbim.h:57:10: note: declared here
void mm_port_mbim_open (MMPortMbim *self,
^~~~~~~~~~~~~~~~~
(full log here https://gitlab.gnome.org/GNOME/gnome-build-meta/-/jobs/89801/artifacts/file/logs/gnome/core-deps-ModemManager/55c2b922-build.21005.log)
FYI, we are using gcc 8.2.0 which is probably stricter than older compilers.