Project

General

Profile

Curl types.h deprecated, but still included in gridreference and job source?

Added by Chris Andrews over 10 years ago

Hi all,

Have been building cdo on SLES/SLED 11 and for our package system I needed to build both cdo and all dependencies from source. When I got to the final build for cdo, I kept hitting a point where it would tell me that it couldn't find curl/types.h, which was one of the #includes in gridreference.h. A quick Google revealed that curl's types.h is deprecated and has apparently been rolled into curl/curl.h (http://projects.springlobby.info/issues/1575).

I did get cdo to build by removing the #include lines, but I'm pretty wary of that as a solution, so has anyone else had this issue and if so, how have you worked around it?

I was building cdo 1.6.2 against curl 7.33.0 on SLES 11.1 using the vendor-provided gcc v4.3.4.

Cheers!


Replies (1)

RE: Curl types.h deprecated, but still included in gridreference and job source? - Added by Uwe Schulzweida over 10 years ago

Hi Chris,

Thanks for this hint! The include line of curl/curl.h can be remove without any problems. I will change it in the next release.

Cheers,
Uwe

    (1-1/1)