LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-06-2021, 08:30 AM   #1
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
regression on -current with vala-0.50.4


on -current dconf-editor doesn't build anymore with vala-0.50.4, but is OK with vala-0.50.3:
------------------------
../editor/bookmarks-list.vala:149.83-149.99: error: Argument 4: Cannot pass unowned ref argument to owned reference parameter
_create_bookmark_rows (bookmarks_variant, view_mode, ref main_list_store, ref main_list_box, ref bookmarks_hashtable);
^^^^^^^^^^^^^^^^^
../editor/bookmarks.vala:41.16-41.64: warning: [GtkChild] fields must be declared as `unowned'
[GtkChild] private BookmarksController bookmarks_controller;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../editor/bookmarks.vala:87.64-87.79: error: Argument 3: Cannot pass unowned ref argument to owned reference parameter
update_switch_label (ViewType.SEARCH, ViewType.FOLDER, ref switch_label); // init text with "Bookmark this Location"
^^^^^^^^^^^^^^^^
Compilation failed: 31 error(s), 89 warning(s)
ninja: build stopped: subcommand failed.
-------------------------
 
Old 03-07-2021, 12:17 PM   #2
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 405

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
Originally Posted by nobodino View Post
on -current dconf-editor doesn't build anymore with vala-0.50.4, but is OK with vala-0.50.3:
------------------------
../editor/bookmarks-list.vala:149.83-149.99: error: Argument 4: Cannot pass unowned ref argument to owned reference parameter
_create_bookmark_rows (bookmarks_variant, view_mode, ref main_list_store, ref main_list_box, ref bookmarks_hashtable);
^^^^^^^^^^^^^^^^^
../editor/bookmarks.vala:41.16-41.64: warning: [GtkChild] fields must be declared as `unowned'
[GtkChild] private BookmarksController bookmarks_controller;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../editor/bookmarks.vala:87.64-87.79: error: Argument 3: Cannot pass unowned ref argument to owned reference parameter
update_switch_label (ViewType.SEARCH, ViewType.FOLDER, ref switch_label); // init text with "Bookmark this Location"
^^^^^^^^^^^^^^^^
Compilation failed: 31 error(s), 89 warning(s)
ninja: build stopped: subcommand failed.
-------------------------
This commit/patch from gconf editor is adressing this problem. There was some problems around references of widgets which were bugs which happily didn't lead towards segfaults. But upstream decided to clarify all that :
https://gitlab.gnome.org/GNOME/dconf...4990de71db2b2b
 
1 members found this post helpful.
Old 03-07-2021, 04:06 PM   #3
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Original Poster
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
Solved in -current.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware current: SlackBuild ( ponce ) vala-panel-appemenu failed lancsuk Slackware 10 11-18-2019 04:25 PM
Vala + GTK "Hello World" Kenny_Strawn Programming 16 10-17-2010 02:45 AM
LXer: Vala - Compiler for the GObject type system LXer Syndicated Linux News 0 12-05-2009 01:00 PM
LXer: Programming GNOME applications with Vala LXer Syndicated Linux News 0 12-10-2008 08:20 PM
LXer: Vala's Jürg Billeter on GNOME's Newest Development Platform LXer Syndicated Linux News 0 11-13-2007 01:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration