[sigc] Fwd: Bug#292696: new warnings since upgrade to 2.0.7



  I just got the attached bug report from a user.  Apparently one of the 
headers in 2.0.7 triggers warnings in g++ (version 3.3.5).  I've looked at 
the problem code, but I'm not sure what the proper fix is; it looks like the 
class will work just fine, and I presume that stuff is private for a reason.

  Daniel

-- 
/------------------- Daniel Burrows <dburrows debian org> ------------------\
|                    All generalizations are dangerous.                     |
\------ (if (not (understand-this)) (go-to http://www.schemers.org)) -------/
--- Begin Message ---
Package: libsigc++-2.0-dev
Version: 2.0.7-1
Severity: minor

In file included from /usr/include/sigc++-2.0/sigc++/signal_base.h:26,
                 from /usr/include/sigc++-2.0/sigc++/signal.h:8,
                 from /usr/include/sigc++-2.0/sigc++/sigc++.h:23,
                 from /usr/include/glibmm-2.4/glibmm/dispatcher.h:24,
                 from /usr/include/glibmm-2.4/glibmm.h:32,
                 from /usr/include/gtkmm-2.4/gtkmm.h:29,
                 from ../UnixPixel/UnixApplication.h:21,
                 from ../CrossPixel/Application.h:26,
                 from SampleApplication.h:19,
                 from SampleApplication.cpp:23:
/usr/include/sigc++-2.0/sigc++/type_traits.h:96: warning: all member functions 
   in class `sigc::is_base_and_derived<T_base, T_derived>' are private

Downgrading libsigc++-2.0-* quells the warning that seems to occur in
almost every file including the sigc++ stuff...

-Josh

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (499, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)

Versions of packages libsigc++-2.0-dev depends on:
ii  libsigc++-2.0-0               2.0.7-1    type-safe Signal Framework for C++
ii  libstdc++5-3.3-dev [libstdc++ 1:3.3.5-6  The GNU Standard C++ Library v3 (d
ii  libstdc++6-dev [libstdc++-dev 3.4.3-7    The GNU Standard C++ Library v3 (d
ii  pkg-config                    0.15.0-4   Manage compile and link flags for 

-- no debconf information



--- End Message ---

Attachment: pgp39g0odnSxJ.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]