Comments (10)
I've just created #1315, #1316, and #1317 to eliminate some of the warnings in my plugins.
from geany-plugins.
Well, there's also the competing #1238 that tries to support about everything. I haven't checked if it works, I personally would prefer supporting only a single version since nobody will be able to test all the versions (especially when the plugin is unmaintained).
from geany-plugins.
Looks like number of compile time warnings is quite high
Summary stats on bilding with ignore make errors (with -k):
$ rpmbuild -ba geany-plugins.spec --quiet 2>&1 | grep -- \\[-W | sed 's/.*\[//; s/\]//' | sort | uniq -c | sort -nr
613 -Wdeprecated-declarations
11 -Wunused-variable
11 -Wimplicit-function-declaration
8 -Wunused-result
7 -Wdiscarded-qualifiers
6 -Wunused-function
5 -Wformat=
1 -Wunused-const-variable=
1 -Wunused-but-set-variable
1 -Wincompatible-pointer-types
from geany-plugins.
I'm using gcc 14.x so it shows a bit more like -Wincompatible-pointer-types
warnings
Extracted stderr with all warnings and errors geany-plugins.stderr.txt
from geany-plugins.
Build may fail in lua beause I'm using patch which enabled build with lua >= 5.2
--- a/build/geanylua.m4
+++ b/build/geanylua.m4
@@ -14,10 +14,8 @@
done])
LUA_VERSION=5.1
- LUA_VERSION_BOUNDARY=5.2
GP_CHECK_PLUGIN_DEPS([GeanyLua], [LUA],
- [${LUA_PKG_NAME} >= ${LUA_VERSION}
- ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}])
+ [${LUA_PKG_NAME} >= ${LUA_VERSION}])
GP_CHECK_PLUGIN_DEPS([GeanyLua], [GMODULE], [gmodule-2.0])
GP_COMMIT_PLUGIN_STATUS([GeanyLua])
It would be good to update for latest lua because older versions are buggy and longer maintained (there are few CVEs in lua older than 5.4).
from geany-plugins.
GTK deprecations should continue to work on GTK3 which is all Geany and plugins support. So these warnings will likely not go away until a GTK4 port happens, so they should not be allowed fail a build.
For the Geanylua plugin, are you sure your build is using a version of the lua headers/library that is supported by the plugin? Note that geanylua is unmaintained and will not have been updated if type and function names in Lua headers have changed. Unless "somebody" with the time and ability takes the plugin under their wing it won't be updated to newer versions.
The project organiser incompatible pointer just needs an explicit cast @techee (As an aside, I thought incompatible pointers was in GCC 13, not 14)
from geany-plugins.
After disable build projectorganizer and geanylua I was able to build geany-plugins.
For the Geanylua plugin, are you sure your build is using a version of the lua headers/library that is supported by the plugin?
As I wrote I've been trying to build against latest lua 5.4 using --enable-geanylua --with-lua-pkg=lua
+ patch which I've posted here.
The project organiser incompatible pointer just needs an explicit cast @techee (As an aside, I thought incompatible pointers was in GCC 13, not 14)
gcc 14.x is now even more sensitive on pointer typing.
from geany-plugins.
As I wrote I've been trying to build against latest lua 5.4
Yeah, I didn't see your post until I had hit comment
gcc 14.x is now even more sensitive on pointer typing.
As a C++ programmer I totally approve (he says writing reinterpret_cast
) 😁
from geany-plugins.
Unless "somebody" with the time and ability takes the plugin under their wing it won't be updated to newer versions.
This happened in #1235.
from geany-plugins.
This happened in #1235.
It was good of you to update it even if you don't use the plugin. But sadly it seems no real Geanylua users could build and test it in the year since it was created. @frlan maybe it should be merged anyway since the plugin will die otherwise.
from geany-plugins.
Related Issues (20)
- ProjectOrganizer: possible parsing optimization HOT 17
- Error: Most Plugins not binary compatible with this release of geany. Therefore not available in Plugin Manager Dialog HOT 9
- geany-plugin-addons systray icon feature request: alternate collapse window to icon options HOT 5
- Debugger plugin stops at FreeBasic INPUT statement HOT 2
- projectorganizer: prjorg-sidebar.c: returning 'void **' from a function with incompatible return type 'gchar **'
- Anyone happen to know if there's JSpath (HTML path) plugin?
- Geany crashes loading the Markdown plugin - GBM-DRV error HOT 2
- geany-plugins-debugger: can we attach to exiting process? HOT 1
- Markdown preview shows nothing HOT 16
- 2.0.0: test suite fails with cppcheck 2.13.1 (unrecognized command line option: "--template") HOT 3
- How to install markdown plugin on Mac M1 HOT 6
- Is it possible to open "spelling suggestions" menu using keyboard ? HOT 3
- Add a typst plugin HOT 4
- SVG and X3D markup languages HOT 4
- Make updatechecker plugin for MacOS HOT 17
- BUG during tab-browsing with the keyboard in the sidebar when a new tab is in the sidebar HOT 5
- Feature request - extend plugin Save Actions - code fixers HOT 7
- A release of a click on the tab-title of a plugin-tab in the sidebar should put the content of the tab in focus HOT 6
- Default plugins folder incorrect / not found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geany-plugins.