Debian 10 stable, build error: The name `try_parse' does not exist in the context of `int'
Have successfully compiled moserial on Debian 9 several years ago. Now I'm trying to build moserial on Debian Buster, 4.19.0-14-amd64. Getting an error:
valac -C --pkg gtk+-3.0 --pkg gdk-3.0 --pkg gio-2.0 --pkg Config --pkg posix --pkg linux --vapidir src/ --basedir . src/MainWindow.vala src/Main.vala src/SettingsDialog.vala src/Settings.vala src/SendProgressDialog.vala src/ReceiveChooserDialog.vala src/ReceiveProgressDialog.vala src/RecordDialog.vala src/PreferencesDialog.vala src/SerialConnection.vala src/HexTextBuffer.vala src/SerialStreamRecorder.vala src/InputParser.vala src/Rzwrapper.vala src/XmodemFilenameDialog.vala src/SendChooserDialog.vala src/Szwrapper.vala src/AutoScroll.vala src/Preferences.vala src/Profile.vala src/DefaultPaths.vala src/MoUtils.vala
src/SettingsDialog.vala:226.14-226.26: error: The name `try_parse' does not exist in the context of `int'
if (!int.try_parse (baudRateInput.get_text (), out baudRate, out unparsed, 10)) {
^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
make: *** [Makefile:1224: src/moserial.vala.stamp] Error 1
Not an object-oriented programmer, have no clue how to solve. Plese, help. Thank You.