Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8313576

GCC 7 reports compiler warning in bundled freetype 2.13.0

XMLWordPrintable

    • 2d
    • b10
    • generic
    • linux

        The next error is produced:

        share/native/libfreetype/src/base/ftobjs.c:25:0:
        share/native/libfreetype/src/base/ftobjs.c: In function 'open_face_from_buffer':
        share/native/libfreetype/include/freetype/internal/ftobjs.h:511:47: error: 'args.driver' may be used uninitialized in this function [-Werror=maybe-uninitialized]
         #define FT_MODULE_CLASS( x ) FT_MODULE( x )->clazz
                                                       ^~
        libfreetype/src/base/ftobjs.c:1738:19: note: 'args.driver' was declared here
             FT_Open_Args args;

              serb Sergey Bylokhov
              serb Sergey Bylokhov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: