~vcs-imports/gconfmm/main

« back to all changes in this revision

Viewing changes to gconf/gconfmm/setinterface.h

  • Committer: murrayc
  • Date: 2007-09-12 14:11:32 UTC
  • Revision ID: vcs-imports@canonical.com-20070912141132-tdgqkff94e8y1s77
2.18.1:

2007-09-10  Martin Ejdestig  <marejde@gmail.com>

        * gconf/gconfmm/setinterface.h: Use 
        #pragma GCC system_header
        to supress warnings about the lack of a virtual destructor.
        We cannot add the virtual destructor (not a big problem in this 
        case anyway) without breaking ABI, and we do not want to stop 
        applications from building while -Werror is enabled.
        Bug #460969

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#define GCONFMM_SET_INTERFACE_H
23
23
#include <gconfmm/value.h>
24
24
 
 
25
/* Suppress no virtual destructor warning so -Werror can be used.
 
26
 */
 
27
#if (__GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96))
 
28
#pragma GCC system_header
 
29
#endif
 
30
 
25
31
namespace Gnome
26
32
{
27
33
namespace Conf