cleac / olifant

GTK3 client for Mastodon
GNU General Public License v3.0
19 stars 2 forks source link

Compilation error #12

Closed jcamposz closed 4 years ago

jcamposz commented 4 years ago

When I compile the source code, get: dgets/Notification.vala ../src/Widgets/ImageAttachment.vala ../src/Widgets/AttachmentGrid.vala ../src/Dialogs/ISavedWindow.vala ../src/Dialogs/MainWindow.vala ../src/Dialogs/NewAccount.vala ../src/Dialogs/Compose.vala ../src/Dialogs/Preferences.vala ../src/Dialogs/WatchlistEditor.vala ../src/Views/Abstract.vala ../src/Views/Timeline.vala ../src/Views/Home.vala ../src/Views/Local.vala ../src/Views/Federated.vala ../src/Views/Notifications.vala ../src/Views/Direct.vala ../src/Views/ExpandedStatus.vala ../src/Views/Profile.vala ../src/Views/Followers.vala ../src/Views/Following.vala ../src/Views/Favorites.vala ../src/Views/Search.vala ../src/Views/Hashtag.vala ../src/Views/Abstract.vala:24.5-24.19: error: Creation method of abstract class cannot be public. public Abstract () { ^^^^^^^^^^^^^^^ Compilation failed: 1 error(s), 0 warning(s) ninja: build stopped: subcommand failed.

Using Fedora 32 beta, with vala 0.48.3. This can be resolved changing this constructor to protected.

cleac commented 4 years ago

Thanks for sharing and specifying build environment. I will look through what is actually wrong, because I didn't have any issues alike before 🤔