'noexcept' and 'nullptr' in gtkmm-2-24
- From: John Emmas <john creativepost co uk>
- To: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: 'noexcept' and 'nullptr' in gtkmm-2-24
- Date: Mon, 30 May 2016 11:08:00 +0100
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]