Skip to content

Update imgsmlr.h #15

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update imgsmlr.h #15

wants to merge 1 commit into from

Conversation

digoal
Copy link

@digoal digoal commented Jul 13, 2023

fix error:

@digoal
Copy link
Author

digoal commented Jul 13, 2023

In file included from imgsmlr_idx.c:18:
imgsmlr_idx.c: In function ‘signature_compress’:
imgsmlr_idx.c:67:23: error: ‘FALSE’ undeclared (first use in this function)
   67 |        entry->offset, FALSE);
      |                       ^~~~~
/usr/include/postgresql/15/server/access/gist.h:246:37: note: in definition of macro ‘gistentryinit’
  246 |    (e).offset = (o); (e).leafkey = (l); } while (0)
      |                                     ^
imgsmlr_idx.c:67:23: note: each undeclared identifier is reported only once for each function it appears in
   67 |        entry->offset, FALSE);
      |                       ^~~~~
/usr/include/postgresql/15/server/access/gist.h:246:37: note: in definition of macro ‘gistentryinit’
  246 |    (e).offset = (o); (e).leafkey = (l); } while (0)
      |                                     ^
imgsmlr_idx.c: In function ‘signature_decompress’:
imgsmlr_idx.c:89:23: error: ‘FALSE’ undeclared (first use in this function)
   89 |        entry->offset, FALSE);
      |                       ^~~~~
/usr/include/postgresql/15/server/access/gist.h:246:37: note: in definition of macro ‘gistentryinit’
  246 |    (e).offset = (o); (e).leafkey = (l); } while (0)
      |                                     ^
make: *** [<builtin>: imgsmlr_idx.o] Error 1

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

Successfully merging this pull request may close these issues.

1 participant