Skip to content

can't compile this on Arch Linux #80

@micwoj92

Description

@micwoj92

Getting following error

main.vala:70.1-70.14: error: struct `Globals' cannot be empty

struct Globals{
^^^^^^^^^^^^^^
main.vala:260.31-260.34: error: Assignment: Cannot convert from GLib.List<Gtk.Window>' to GLib.List?'
unowned List list = app.get_windows();
^^^^
hvbox.vala:77.9-77.41: error: Assignment: Cannot convert from GLib.List<HVBoxItem>' to GLib.List'
children = new List ();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
hvbox.vala:228.10-228.32: error: Assignment: Cannot convert from GLib.List<weak HVBoxItem>' to GLib.List?'
for (item_it = this.children; !dnd_done && item_it != null; item_it = item_it.next) {
^^^^^^^^^^^^^^^^^^^^^^^
hvbox.vala:247.98-247.106: error: Argument 1: Cannot convert from unowned GLib.List<HVBoxItem>?' to unowned GLib.List'
debug("\torig2 size_allocate position=%d x=%d y=%d w=%d h=%d\n",this.children.position(line_item),allocation.x,allocation.y,allocation.width,allocation.height);
^^^^^^^^^
hvbox.vala:255.48-255.56: error: Argument 1: Cannot convert from unowned GLib.List<HVBoxItem>?' to unowned GLib.List'
var new_pos=this.children.position(line_item)+1;
^^^^^^^^^
hvbox.vala:263.67-263.75: error: Argument 1: Cannot convert from unowned GLib.List<HVBoxItem>?' to unowned GLib.List'
debug("Found at ! index=%d \n",this.children.position(line_item));
^^^^^^^^^
hvbox.vala:269.48-269.56: error: Argument 1: Cannot convert from unowned GLib.List<HVBoxItem>?' to unowned GLib.List'
var new_pos=this.children.position(line_item);
^^^^^^^^^
hvbox.vala:432.10-432.32: error: Assignment: Cannot convert from GLib.List<weak HVBoxItem>' to GLib.List?'
for (item_it = this.children; item_it != null; item_it = item_it.next) {
^^^^^^^^^^^^^^^^^^^^^^^
hvbox.vala:512.10-512.32: error: Assignment: Cannot convert from GLib.List<weak HVBoxItem>' to GLib.List?'
for (item_it = this.children; item_it != null; item_it = item_it.next) {
^^^^^^^^^^^^^^^^^^^^^^^
hvbox.vala:567.10-567.32: error: Assignment: Cannot convert from GLib.List<weak HVBoxItem>' to GLib.List?'
for (item_it = this.children; this.children !=null && item_it != null; item_it = item_it.next) {
^^^^^^^^^^^^^^^^^^^^^^^
hvbox.vala:782.10-782.32: error: Assignment: Cannot convert from GLib.List<weak HVBoxItem>' to GLib.List?'
for (item_it = this.children; item_it != null; item_it = item_it.next) {
^^^^^^^^^^^^^^^^^^^^^^^
altyo_window.vala:3037.7-3037.23: error: The name render_background' does not exist in the context of QoptNotebook.new.lambda9'
render_background(context,cr, 0, 0,width, height);
^^^^^^^^^^^^^^^^^
altyo_terminal.vala:1629.36-1629.40: error: Argument 1: Cannot convert from unowned string' to unowned uint8[]?'
this.vte_term.feed_child(paste,paste.length);
^^^^^
altyo_terminal.vala:1629.11-1629.54: error: 1 extra arguments for void Vte.Terminal.feed_child (uint8[]?)' this.vte_term.feed_child(paste,paste.length); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ altyo_terminal.vala:1750.32-1750.34: error: Argument 1: Cannot convert from unowned string?' to unowned uint8[]?' this.vte_term.feed_child(cmd,cmd.length); ^^^ altyo_terminal.vala:1750.7-1750.46: error: 1 extra arguments for void Vte.Terminal.feed_child (uint8[]?)'
this.vte_term.feed_child(cmd,cmd.length);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
altyo_terminal.vala:1758.34-1758.36: error: Argument 1: Cannot convert from unowned string?' to unowned uint8[]?'
this.vte_term.feed_child(cmd,cmd.length);
^^^
altyo_terminal.vala:1758.9-1758.48: error: 1 extra arguments for void Vte.Terminal.feed_child (uint8[]?)' this.vte_term.feed_child(cmd,cmd.length); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ altyo_terminal.vala:1778.36-1778.38: error: Argument 1: Cannot convert from unowned string?' to unowned uint8[]?' this.vte_term.feed_child(cmd,cmd.length); ^^^ altyo_terminal.vala:1778.11-1778.50: error: 1 extra arguments for void Vte.Terminal.feed_child (uint8[]?)'
this.vte_term.feed_child(cmd,cmd.length);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
altyo_terminal.vala:1791.36-1791.48: error: Argument 1: Cannot convert from unowned string?' to unowned uint8[]?'
this.vte_term.feed_child(user_password,user_password.length);
^^^^^^^^^^^^^
altyo_terminal.vala:1791.11-1791.70: error: 1 extra arguments for `void Vte.Terminal.feed_child (uint8[]?)'
this.vte_term.feed_child(user_password,user_password.length);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 23 error(s), 0 warning(s)
make: *** [Makefile:84: default] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions