Package: libfreetype6-dev
Version: 2.8.1-1
Severity: normal

Dear Maintainer,


*** Reporter, please consider answering these questions, where appropriate
***

   * What led up to the situation?

I simply updated/full-upgraded and eventually recompiled one of my own
projects, which previously produced no compiler errors or warnings (with
-Wall
-Wextra -Wpedantic on latest g++).


   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?

The new outcome is that I am spammed by multiple sets of warnings like this:

In file included from /usr/include/freetype2/freetype/freetype.h:33:0,
                 from /usr/include/cairo/cairo-ft.h:47,
                 from /usr/include/cairomm-1.0/cairomm/enums.h:23,
                 from /usr/include/cairomm-1.0/cairomm/surface.h:37,
                 from /usr/include/cairomm-1.0/cairomm/context.h:24,
                 from /usr/include/pangomm-1.4/pangomm/context.h:42,
                 from /usr/include/gtkmm-3.0/gtkmm/widget.h:31,
                 from /usr/include/gtkmm-3.0/gtkmm/container.h:28,
                 from /usr/include/gtkmm-3.0/gtkmm/bin.h:27,
                 from /usr/include/gtkmm-3.0/gtkmm/window.h:30,
                 from /usr/include/gtkmm-3.0/gtkmm/dialog.h:29,
                 from /usr/include/gtkmm-3.0/gtkmm/aboutdialog.h:32,
                 from /home/daniel/src/[project]/src/gui/About.hpp:4,
                 from /home/daniel/src/[project]/src/gui.cpp:9:
/usr/include/freetype2/freetype/config/ftconfig.h:113:26: warning:
"__SIZEOF_LONG__4" is not defined, evaluates to 0 [-Wundef]
 #define FT_SIZEOF_LONG  (__SIZEOF_LONG__4 / FT_CHAR_BIT)
                          ^
/usr/include/freetype2/freetype/config/ftconfig.h:293:5: note: in expansion
of
macro ‘FT_SIZEOF_LONG’
 #if FT_SIZEOF_LONG == __SIZEOF_LONG__
     ^~~~~~~~~~~~~~
/usr/include/freetype2/freetype/config/ftconfig.h:113:26: warning:
"__SIZEOF_LONG__4" is not defined, evaluates to 0 [-Wundef]
 #define FT_SIZEOF_LONG  (__SIZEOF_LONG__4 / FT_CHAR_BIT)
                          ^
/usr/include/freetype2/freetype/config/ftconfig.h:302:9: note: in expansion
of
macro ‘FT_SIZEOF_LONG’
 #elif ( FT_SIZEOF_LONG == __SIZEOF_LONG__ )       && \


   * What outcome did you expect instead?

I expected simply to be able to continue compiling my project with no
errors or
warnings, especially not ones about a macro that looks like it might
eventually
end up somewhere where its having the wrong value could create security
risks.
:)


Thanks!



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libfreetype6-dev depends on:
ii  libc6-dev [libc-dev]   2.26-3
ii  libfreetype6           2.8.1-1
ii  libpng-dev             1.6.34-1
ii  zlib1g-dev [libz-dev]  1:1.2.8.dfsg-5

libfreetype6-dev recommends no packages.

libfreetype6-dev suggests no packages.

-- no debconf information

Reply via email to