curlpp: fix do_compile failed since gcc upgrade to 4.9
authorHongxu Jia <hongxu.jia@windriver.com>
Tue, 12 Aug 2014 07:59:15 +0000 (15:59 +0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:41:34 +0000 (08:41 -0800)
commit3fbf48d7b8065c0e342a7aee55ab5a1ef92906a7
tree3e6d773b173ccb3e00c2530972e226e99802835d
parente7653b217c486da0fd0cef0250a3fd2687f9850b
curlpp: fix do_compile failed since gcc upgrade to 4.9

The deprecated test code was no longer used, so remove it
to avoid compiling failure with -Werror=unused-function
...
| example21.cpp:51:8: error: 'size_t {anonymous}::readData(char*,
size_t, size_t)' defined but not used [-Werror=unused-function]
|  size_t readData(char *buffer, size_t size, size_t nitems)
...

(From meta-openembedded rev: 8afe9200c45110eb2166e09bdce739fa170c08cb)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-networking/recipes-support/curlpp/curlpp/example21.cpp-remove-deprecated-code.patch [new file with mode: 0644]
meta-openembedded/meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb