https://bugs.kde.org/show_bug.cgi?id=384583

            Bug ID: 384583
           Summary: kconfig_compiler_kf5 generates settings Helper
                    generating compiler warning
           Product: frameworks-kconfig
           Version: unspecified
          Platform: Kubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

When we create a xxx.kcfg file, kconfig_compiler_kf5 generates a xxx.cpp like
this:

class xxxHelper
{
public:
xxxHelper() : q(nullptr) {}
~xxxHelper() { delete q; }
xxx*q;
};

The line following line generates a a warning "but ‘xxxHelper::xxxHelper()’
does not throw; perhaps it should be declared ‘noexcept’ [-Wnoexcept])":
xxxHelper() : q(nullptr) {}

Is it possible that kconfig_compiler_kf5 generates code without compilation
warning ?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to