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

Each undeclared identifier is reported only once for each function it appears in #1

Open
jgarte opened this issue Nov 25, 2022 · 0 comments

Comments

@jgarte
Copy link

jgarte commented Nov 25, 2022

Hi!

 $  gcc hello-world-gtk.c $(pkg-config --cflags --libs gtk4) -o hello-world-gtk
hello-world-gtk.c: In function ‘main’:
hello-world-gtk.c:35:49: error: ‘G_APPLICATION_DEFAULT_FLAGS’ undeclared (first use in this function); did you mean ‘G_APPLICATION_GET_CLASS’?
   35 |   app = gtk_application_new ("org.gtk.example", G_APPLICATION_DEFAULT_FLAGS);
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                 G_APPLICATION_GET_CLASS
hello-world-gtk.c:35:49: note: each undeclared identifier is reported only once for each function it appears in

How comes? :(

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