I am using cURL for MinGW64 from http://curl.haxx.se/download.html v7.34.0 with the cURL wrappers from https://github.com/JosephP91/curlcpp and Qt 5.2.1 as soon as I load the libraries in .pro, wild syntax related error blossom by the truckloads https://i.stack.imgur.com/Aj9KQ.png I really suspect it is version related, but I do not know the solution.
section of code it borks on example:
template<class T> class CurlError : public exception {
public:
CurlError(const string error, const T code) : error(error), code(code) {}
~CurlError() throw() {};
pair<string,T> what() noexcept;
private:
string error;
T code;
};
error output:
C:\Users\Brad2\Documents\GitHub\curlcpp\include\CurlError.h:25: error: expected ';' at end of member declaration
pair<string,T> what() noexcept;
^