Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [1/14] Compiling Vala source ../src/connection_handler.vala ../src/server.vala ../src/types.vala ../src/client.vala.
- FAILED: valac '-d' 'nico-0.2@sha' '-C' '-H' 'connection_handler.h' '--library=nico-0.2' '--vapi=../connection_handler.vapi' '--pkg' 'glib-2.0' '--pkg' 'gio-2.0' '--pkg' 'json-glib-1.0' '--pkg' 'gtk+-3.0' ../src/connection_handler.vala ../src/server.vala ../src/types.vala ../src/client.vala
- ../src/connection_handler.vala:18.24-18.69: error: The name `to_string' does not exist in the context of `GLib.SocketAddress'
- var mine = this.connection.get_remote_address().to_string().split(":")[0];
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ../src/connection_handler.vala:18.17-18.85: error: var declaration not allowed with non-typed initializer
- var mine = this.connection.get_remote_address().to_string().split(":")[0];
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ../src/connection_handler.vala:19.26-19.42: error: The name `to_string' does not exist in the context of `GLib.SocketConnectable'
- var theirs = address.to_string().split(":")[0];
- ^^^^^^^^^^^^^^^^^
- ../src/connection_handler.vala:19.17-19.58: error: var declaration not allowed with non-typed initializer
- var theirs = address.to_string().split(":")[0];
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ../src/connection_handler.vala:20.20-20.23: error: The name `mine' does not exist in the context of `Nico.ConnectionHandler.is_from'
- return mine == theirs;
- ^^^^
- ../src/connection_handler.vala:18.24-18.59: warning: unhandled error `GLib.Error'
- var mine = this.connection.get_remote_address().to_string().split(":")[0];
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ../src/server.vala:38.78-38.89: error: The name `to_string' does not exist in the context of `GLib.SocketAddress'
- message("Dropped connection from %s. Double connection", ra.to_string());
- ^^^^^^^^^^^^
- ../src/server.vala:35.37-35.51: warning: unhandled error `GLib.Error'
- Socket connection = socket.accept();
- ^^^^^^^^^^^^^^^
- ../src/server.vala:36.26-36.56: warning: unhandled error `GLib.Error'
- var ra = connection.get_remote_address();
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ../src/server.vala:39.21-39.38: warning: unhandled error `GLib.Error'
- connection.close();
- ^^^^^^^^^^^^^^^^^^
- ../src/connection_handler.vala:135.17-135.39: warning: unhandled error `GLib.Error'
- this.connection.close();
- ^^^^^^^^^^^^^^^^^^^^^^^
- ../src/connection_handler.vala:11.21-11.35: error: The name `try' does not exist in the context of `GLib.Thread'
- new Thread<int>.try("connhandler", this.run);
- ^^^^^^^^^^^^^^^
- ../src/types.vala:97.24-97.45: warning: unhandled error `GLib.Error'
- var node = Json.from_string(data);
- ^^^^^^^^^^^^^^^^^^^^^^
- ../src/connection_handler.vala:104.17-104.39: warning: unhandled error `GLib.Error'
- this.connection.close();
- ^^^^^^^^^^^^^^^^^^^^^^^
- ../src/connection_handler.vala:117.21-117.35: error: The name `try' does not exist in the context of `GLib.Thread'
- new Thread<int>.try("update", update_thread_context.run);
- ^^^^^^^^^^^^^^^
- ../src/connection_handler.vala:73.13-73.35: warning: unhandled error `GLib.Error'
- this.connection.close();
- ^^^^^^^^^^^^^^^^^^^^^^^
- ../src/client.vala:42.21-42.35: error: The name `try' does not exist in the context of `GLib.Thread'
- new Thread<int>.try("incominghandler", this.listen);
- ^^^^^^^^^^^^^^^
- ../src/client.vala:35.31-35.99: warning: unhandled error `GLib.Error'
- this.connection = new Socket (SocketFamily.IPV4, SocketType.STREAM, SocketProtocol.TCP);
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ../src/client.vala:38.13-38.49: warning: unhandled error `GLib.Error'
- this.connection.connect (inetaddress);
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ../src/client.vala:69.17-69.39: warning: unhandled error `GLib.Error'
- this.connection.close();
- ^^^^^^^^^^^^^^^^^^^^^^^
- ../src/client.vala:92.17-92.39: warning: unhandled error `GLib.Error'
- this.connection.close();
- ^^^^^^^^^^^^^^^^^^^^^^^
- ../src/client.vala:110.21-110.93: warning: unhandled error `Nico.ClientError'
- throw new ClientError.UNKNOWN_LOCATION("Unknown location: %s", location);
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ../src/client.vala:126.17-126.39: warning: unhandled error `GLib.Error'
- this.connection.close();
- ^^^^^^^^^^^^^^^^^^^^^^^
- ../src/client.vala:149.17-149.39: warning: unhandled error `GLib.Error'
- this.connection.close();
- ^^^^^^^^^^^^^^^^^^^^^^^
- ../src/client.vala:157.17-157.47: warning: unhandled error `GLib.Error'
- this.connection.receive(msgbuf);
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ../src/client.vala:169.48-169.95: warning: unhandled error `GLib.Error'
- var session = (Session)Json.gobject_from_data(typeof(Session), content);
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Compilation failed: 9 error(s), 17 warning(s)
- ninja: build stopped: subcommand failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement