-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failure with stricter C compilers (e.g. GCC 14) #121
Comments
mtasaka
added a commit
to mtasaka/lxterminal
that referenced
this issue
Feb 21, 2024
gcc14 now defaults to -Werror=incompatible-pointer-types . Fix code to support this. * Add GTK cast for GTK_STYLE_PROVIDER * VteRegex must be deref'ed with vte_regex_unref Fixes lxde#121 .
I see one more warning with
|
ib
pushed a commit
that referenced
this issue
Aug 6, 2024
gcc14 now defaults to -Werror=incompatible-pointer-types. Fix code to support this. * Add GTK cast for GTK_STYLE_PROVIDER * VteRegex (vte >= 0.46.0) must be deref'ed with vte_regex_unref Fixes #121.
ib
pushed a commit
to mtasaka/lxterminal
that referenced
this issue
Aug 6, 2024
gcc14 now defaults to -Werror=incompatible-pointer-types. Fix code to support this. * Add GTK cast for GTK_STYLE_PROVIDER * VteRegex (vte >= 0.46.0) must be deref'ed with vte_regex_unref Fixes lxde#121.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Modern C compilers are becoming stricter with a variety of changes over the last year or so.
GCC 14 in particular (to be released in ~April 2024) fails to build lxterminal-0.4.0 like:
Originally reported downstream in Gentoo at https://bugs.gentoo.org/919094.
This can be emulated with
-Werror=incompatible-pointer-types -Werror=implicit -Werror=int-conversion
on an older GCC or Clang.The text was updated successfully, but these errors were encountered: