Friday, June 21, 2019

Re: Qt5's libtool link scripts are unusable

On Thu, Jun 20, 2019 at 09:41:23PM +0200, Rafael Sadowski wrote:
> This's what Qt 5.13 doas. They use "<< endl;" instead of "<< "\n";", I
> would like to prefer that. std::endl calls std::flush which synchronizes
> with the underlying storage device.
>
> RS


I agree with using endl if that's what Qt 5.13 does.

But it's one specific case where you really do not give a fuck about
flushing. After all you are generating a Makefile. Who cares about
synchronizing after each single line ?

No comments:

Post a Comment