Skip to content
This repository has been archived by the owner on Nov 11, 2018. It is now read-only.

Make error (link with mx i think) #206

Closed
Lenneth006 opened this issue Oct 9, 2013 · 2 comments
Closed

Make error (link with mx i think) #206

Lenneth006 opened this issue Oct 9, 2013 · 2 comments

Comments

@Lenneth006
Copy link

Hi,

On archlinux the compilation fail with :
/tmp/finalterm-git/src/finalterm/src/LineView.vala:48.3-48.50: warning: Clutter.BoxLayout.set_expand has been deprecated since 1.12
/tmp/finalterm-git/src/finalterm/src/LineView.vala:49.3-49.48: warning: Clutter.BoxLayout.set_fill has been deprecated since 1.12
/tmp/finalterm-git/src/finalterm/src/TerminalView.vala:676.4-676.14: warning: Clutter.Actor.paint has been deprecated since 1.12
/tmp/finalterm-git/src/finalterm/src/TerminalView.vala:561.2-561.28: error: overriding method LineContainer.get_adjustments' is incompatible with base methodMx.Scrollable.get_adjustments': incompatible type of parameter 1.
public void get_adjustments(out unowned Mx.Adjustment? hadjustment, out unowned Mx.Adjustment? vadjustment) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 3 warning(s)
make[2]: *** [vala.stamp] Fehler 1
make[1]: *** [CMakeFiles/finalterm.dir/all] Fehler 2
make: *** [all] Fehler 2

If i remove the '?' from src/TerminalView.val l575 that's work.
From :public void get_adjustments(out unowned Mx.Adjustment? hadjustment, out unowned Mx.Adjustment? vadjustment) {
To public void get_adjustments(out unowned Mx.Adjustment hadjustment, out unowned Mx.Adjustment vadjustment) {

In archlinux we use git version of mx that maybe the error.

@p-e-w
Copy link
Owner

p-e-w commented Oct 10, 2013

Duplicate of #198. This is indeed an unfortunate issue.

@p-e-w p-e-w closed this as completed Oct 10, 2013
@Lenneth006
Copy link
Author

Thanks, i replace the git version of mx by the stable one (1.4.7) and that's work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants