You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C++14 is still not widely supported by Linux baselines. Furthermore, the v3.0 release is FAR superior to the v2.1 release, yet the requirement for C++14 largely has nothing to do with that superiority.
We are looking to integrate qhttp into KeePassXC but we cannot move to C++14 due to backwards compatibility.
Details
There are only two places in the code that require the use of C++14:
httpparser.hxx#L98
which can easily be fixed by changing the auto to TImpl* since you are static casting it anyway.
httpwriter.hxx#L87
This loop block was rewritten in C++14 syntax for no obvious gain. It can be easily reverted back to the C++11 equivalent:
for ( auto cit = TBase::iheaders.constBegin(); cit != TBase::iheaders.constEnd(); cit++ ) {
const QByteArray& field = cit.key();
const QByteArray& value = cit.value();
writeHeader(field, value);
}
The text was updated successfully, but these errors were encountered:
For a project of my company, I did patch successfully qhttp v3.0 to move back to C++11 (and also supports Qt 5.3 which was another requirement for us). As @droidmonkey said, it was not that big.
Motivation
C++14 is still not widely supported by Linux baselines. Furthermore, the v3.0 release is FAR superior to the v2.1 release, yet the requirement for C++14 largely has nothing to do with that superiority.
We are looking to integrate qhttp into KeePassXC but we cannot move to C++14 due to backwards compatibility.
Details
There are only two places in the code that require the use of C++14:
httpparser.hxx#L98
which can easily be fixed by changing the
auto
toTImpl*
since you are static casting it anyway.httpwriter.hxx#L87
This loop block was rewritten in C++14 syntax for no obvious gain. It can be easily reverted back to the C++11 equivalent:
The text was updated successfully, but these errors were encountered: