Home » Developing U++ » U++ Developers corner » Please check the list of 2019.1 changes
Re: Please check the list of 2019.1 changes [message #51204 is a reply to message #51198] |
Tue, 19 February 2019 17:38   |
Oblivion
Messages: 1219 Registered: August 2007
|
Senior Contributor |
|
|
Hello Klugier,
Thank you for your feedback.
I found a very simple workaround for sigtimedwait() issue on MacOS:
It relies on already existing functionality, so I tested it on Linux, and it worked:
#if defined(PLATFORM_MACOS)
// We are using sigtimedwait on POSIX-compliant systems.
// Unfortunately MacOS didn't implement it. This is a simple workaround for MacOS.
// It relies on ioctl, which is implemented on MacOS.
Size sz = GetConsolePageSize();
resized = !IsNull(sz) && sz != psize;
if(resized)
LLOG("Window size changed.");
#else
And as to the the CLANG warning, which I don't get with GCC (probably because it's more relaxed):
I found that in C++11 standard (section 12.3.2):
If a conversion function is a member function, the type of the conversion function (8.3.5) is
"function taking no parameter returning conversion-type-id". A conversion function is never used to
convert a (possibly cv-qualified) object to the (possibly cv-qualified) same object type (or a reference to it),
to a (possibly cv-qualified) base class of that type (or a reference to it), or to (possibly cv-qualified) void
So I removed the implicit converter.
I've commited the patches. And updated the ezamples accordingly.
I'd be grateful if you can test it when you have some time.
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
|
|
|
 |
|
Please check the list of 2019.1 changes
By: mirek on Fri, 08 February 2019 09:29
|
 |
|
Re: Please check the list of 2019.1 changes
By: Klugier on Fri, 08 February 2019 10:57
|
 |
|
Re: Please check the list of 2019.1 changes
By: mirek on Fri, 08 February 2019 12:04
|
 |
|
Re: Please check the list of 2019.1 changes
By: Zbych on Fri, 08 February 2019 22:20
|
 |
|
Re: Please check the list of 2019.1 changes
By: Novo on Wed, 13 February 2019 12:44
|
 |
|
Re: Please check the list of 2019.1 changes
By: Novo on Wed, 13 February 2019 22:10
|
 |
|
Re: Please check the list of 2019.1 changes
By: Klugier on Thu, 14 February 2019 14:34
|
 |
|
Re: Please check the list of 2019.1 changes
By: mirek on Sun, 24 February 2019 14:21
|
 |
|
Re: Please check the list of 2019.1 changes
By: mirek on Fri, 22 February 2019 19:06
|
 |
|
Re: Please check the list of 2019.1 changes
By: Novo on Fri, 22 February 2019 19:39
|
 |
|
Re: Please check the list of 2019.1 changes
By: mirek on Sat, 23 February 2019 07:55
|
 |
|
Re: Please check the list of 2019.1 changes
By: Novo on Sat, 23 February 2019 13:14
|
 |
|
Re: Please check the list of 2019.1 changes
By: mirek on Sat, 23 February 2019 13:42
|
 |
|
Re: Please check the list of 2019.1 changes
By: mirek on Mon, 25 February 2019 12:29
|
 |
|
Re: Please check the list of 2019.1 changes
By: Novo on Tue, 05 March 2019 06:07
|
 |
|
Re: Please check the list of 2019.1 changes
By: Zbych on Thu, 14 February 2019 21:35
|
 |
|
Re: Please check the list of 2019.1 changes
By: Novo on Fri, 15 February 2019 13:04
|
 |
|
Re: Please check the list of 2019.1 changes
By: mirek on Sun, 17 February 2019 17:43
|
 |
|
Re: Please check the list of 2019.1 changes
By: Novo on Sun, 17 February 2019 18:12
|
 |
|
Re: Please check the list of 2019.1 changes
By: Oblivion on Sun, 17 February 2019 18:35
|
 |
|
Re: Please check the list of 2019.1 changes
By: Klugier on Tue, 19 February 2019 14:14
|
 |
|
Re: Please check the list of 2019.1 changes
By: Oblivion on Tue, 19 February 2019 17:38
|
 |
|
Re: Please check the list of 2019.1 changes
By: Klugier on Thu, 21 February 2019 21:44
|
 |
|
Re: Please check the list of 2019.1 changes
By: mirek on Fri, 22 February 2019 09:00
|
 |
|
Re: Please check the list of 2019.1 changes
By: mirek on Fri, 22 February 2019 19:08
|
 |
|
Re: Please check the list of 2019.1 changes
By: mirek on Mon, 25 February 2019 12:36
|
 |
|
Re: Please check the list of 2019.1 changes
By: Tom1 on Tue, 19 February 2019 13:32
|
Goto Forum:
Current Time: Sun Aug 03 18:48:31 CEST 2025
Total time taken to generate the page: 0.06741 seconds
|