Git Product home page Git Product logo

Comments (3)

alexreinking avatar alexreinking commented on July 30, 2024

I get the same issue. Here's a log with a bit more context.

cc -Ilibfprint/libnbis.a.p -Ilibfprint -I../libfprint -I. -I.. -Ilibfprint/nbis/include -I../libfprint/nbis/include -Ilibfprint/nbis/libfprint-include -I../libfprint/nbis/libfprint-include -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gusb-1 -I/usr/include/libusb-1.0 -I/usr/include/pixman-1 -I/usr/include/nss -I/usr/include/nspr -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O2 -g -Wall -Wcast-align -Wformat-nonliteral -Wformat-security -Wformat=2 -Wignored-qualifiers -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wpointer-arith -Wshadow -Wtype-limits -Wundef -Wunused -Werror=address -Werror=array-bounds -Werror=empty-body -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=redundant-decls -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-strict-aliasing -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 -D_GNU_SOURCE '-DG_LOG_DOMAIN="libfprint"' -Wimplicit-function-declaration -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -Werror=implicit -Werror=pointer-to-int-cast -fPIC -pthread -Wno-error=redundant-decls -Wno-redundant-decls -Wno-discarded-qualifiers -MD -MQ libfprint/libnbis.a.p/nbis_bozorth3_bozorth3.c.o -MF libfprint/libnbis.a.p/nbis_bozorth3_bozorth3.c.o.d -o libfprint/libnbis.a.p/nbis_bozorth3_bozorth3.c.o -c ../libfprint/nbis/bozorth3/bozorth3.c
../libfprint/nbis/bozorth3/bozorth3.c:87:13: warning: argument 2 of type ‘int[200]’ with mismatched bound [-Warray-parameter=]
   87 |         int xcol[     MAX_BOZORTH_MINUTIAE ],   /* INPUT: x cordinates */
      |         ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../libfprint/nbis/bozorth3/bozorth3.c:82:
../libfprint/nbis/include/bozorth.h:260:26: note: previously declared as ‘int[]’
  260 | extern void bz_comp(int, int [], int [], int [], int *, int [][COLS_SIZE_2],
      |                          ^~~~~~
../libfprint/nbis/bozorth3/bozorth3.c:88:13: warning: argument 3 of type ‘int[200]’ with mismatched bound [-Warray-parameter=]
   88 |         int ycol[     MAX_BOZORTH_MINUTIAE ],   /* INPUT: y cordinates */
      |         ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../libfprint/nbis/bozorth3/bozorth3.c:82:
../libfprint/nbis/include/bozorth.h:260:34: note: previously declared as ‘int[]’
  260 | extern void bz_comp(int, int [], int [], int [], int *, int [][COLS_SIZE_2],
      |                                  ^~~~~~
../libfprint/nbis/bozorth3/bozorth3.c:89:13: warning: argument 4 of type ‘int[200]’ with mismatched bound [-Warray-parameter=]
   89 |         int thetacol[ MAX_BOZORTH_MINUTIAE ],   /* INPUT: theta values */
      |         ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../libfprint/nbis/bozorth3/bozorth3.c:82:
../libfprint/nbis/include/bozorth.h:260:42: note: previously declared as ‘int[]’
  260 | extern void bz_comp(int, int [], int [], int [], int *, int [][COLS_SIZE_2],
      |                                          ^~~~~~
In function ‘rtp_insert’,
    inlined from ‘bz_match’ at ../libfprint/nbis/bozorth3/bozorth3.c:558:3:
../libfprint/nbis/bozorth3/bozorth3.c:331:15: error: ‘__builtin_memmove’ offset [-17179869176, -8] is out of the bounds [0, 160000] of object ‘rtp’ with type ‘int *[20000]’ [-Werror=array-bounds]
  331 |         *r1-- = *r2--;
      |         ~~~~~~^~~~~~~
../libfprint/nbis/bozorth3/bozorth3.c: In function ‘bz_match’:
../libfprint/nbis/bozorth3/bozorth3.c:375:14: note: ‘rtp’ declared here
  375 | static int * rtp[ ROT_SIZE_1 ];
      |              ^~~
cc1: some warnings being treated as errors

from libfprint.

engcarlosperezmolero avatar engcarlosperezmolero commented on July 30, 2024

I'm having the same issue, but I am on Ubuntu 20.04

from libfprint.

emf37 avatar emf37 commented on July 30, 2024

I get the same issue too, I'm on openSUSE Tumbleweed with T460P

from libfprint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.