Skip to content
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

Compile error passing argument 1; incompatible pointer type #14

Open
Boris00035 opened this issue Jul 5, 2024 · 2 comments
Open

Compile error passing argument 1; incompatible pointer type #14

Boris00035 opened this issue Jul 5, 2024 · 2 comments

Comments

@Boris00035
Copy link

../gimp/app/widgets/gimpcolordialog.c: In function ‘gimp_color_dialog_show’:
../gimp/app/widgets/gimpcolordialog.c:824:40: error: passing argument 1 of ‘gimp_color_dialog_style_updated’ from incompatible pointer type [-Wincompatible-pointer-types]
  824 |       gimp_color_dialog_style_updated (dialog);
      |                                        ^~~~~~
      |                                        |
      |                                        GimpColorDialog * {aka struct _GimpColorDialog *}
../gimp/app/widgets/gimpcolordialog.c:337:45: note: expected ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} but argument is of type ‘GimpColorDialog *’ {aka ‘struct _GimpColorDialog *’}
  337 | gimp_color_dialog_style_updated (GtkWidget *widget)
      |                                  ~~~~~~~~~~~^~~~~~
[ 54% | 1402<1<1183 | 10.8bps ] Compiling C object app/widgets/libappwidgets.a.p/gimpcolordisplayeditor.c.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
@Boris00035
Copy link
Author

Same on gimp-develop-git.

@Boris00035
Copy link
Author

gimp-devel gimp-devel AUR does compile.

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

No branches or pull requests

1 participant