'noexcept' and 'nullptr' in gtkmm-2-24



Am I right in thinking that 'noexcept' is C++11 only? If so, there's a problem in the gtkmm-2-24 branch at line 151 in 'gdk/src/types.hg':-

      ~ScopedPtr() noexcept { g_free(ptr_); }

I realise that gtkmm master now requires C++11 - but IIRC the 2-24 branch is supposed to be buildable with earlier compilers. 'nullptr' is also causing problems a couple of lines earlier, at line 149:-

        ScopedPtr() : ptr_(nullptr) {}

Just flagging them up.  They should be pretty simple to fix. Regards,

John



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