[PD] [PD-announce] PuREST JSON 0.14.0 released

Thomas Mayer thomas at residuum.org
Fri Sep 27 18:17:43 CEST 2013


Hi,

it may depend on the version of curl that you are using for compilation:

CURL_SIZEOF_LONG is defined as 4, while sizeof(long) returns 8 on 64bit
systems. This leads to CurlchkszEQ(long, CURL_SIZEOF_LONG) returning -1.

This has been reported in 2008 to the curl mailing list:
http://curl.haxx.se/mail/lib-2008-09/0051.html

Maybe you can temporarily fix that by making the modifications in
curlbuild.h as described in the mail.

Hth,
Thomas

On 27.09.2013 00:04, me.grimm wrote:
> trying a quick compile OSX 10.8 I get:
> 
> In file included from /sw/include/curl/curl.h:35:
> /sw/include/curl/curlrules.h:143:6: error: '__curl_rule_01__' declared as an
>       array with a negative size
>     [CurlchkszEQ(long, CURL_SIZEOF_LONG)];
>      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /sw/include/curl/curlrules.h:132:27: note: expanded from macro 'CurlchkszEQ'
> #define CurlchkszEQ(t, s) sizeof(t) == s ? 1 : -1
>                           ^~~~~~~~~~~~~~~~~~~~~~~
> /sw/include/curl/curlrules.h:153:6: error: '__curl_rule_02__' declared as an
>       array with a negative size
>     [CurlchkszEQ(curl_off_t, CURL_SIZEOF_CURL_OFF_T)];
>      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /sw/include/curl/curlrules.h:132:27: note: expanded from macro 'CurlchkszEQ'
> #define CurlchkszEQ(t, s) sizeof(t) == s ? 1 : -1
>                           ^~~~~~~~~~~~~~~~~~~~~~~
> 
> ideas?
> 
> thanks for all the work on this....
> 
> m
> 
> 
> On Tue, Sep 24, 2013 at 6:50 AM, Thomas Mayer <thomas at residuum.org> wrote:
>> Hello,
>>
>> I am happy to announce version 0.14.0 of PuREST JSON, code name: Davo.
>>
>> PuREST JSON is a library for working with RESTful HTTP webservices, and
>> JSON data.
>>
>> Authentication and authorization for webservices are available with
>> basic HTTP auth, cookie authentication, and OAuth. As an example for
>> OAuth authenticated webservices, a Twitter client is included.
>>
>> Changes in this version:
>> - Downloading to file
>> - Cancelling of requests possible
>> - [rest] and [oauth] now use libcurl multi interface internally
>>
>> Github repository:
>> https://github.com/residuum/PuRestJson
>>
>> Source code packages:
>> https://github.com/residuum/PuRestJson/releases
>>
>> Binaries for Windows and Debian i386 and amd64:
>> http://ix.residuum.org/pd/purest_json.html
>>
>> Build instructions for all platforms:
>> https://github.com/residuum/PuRestJson/wiki/Compilation
>>
>> Have fun,
>> Thomas
>> --
>> "Chaney was aware that anything, however small, can get the eye of the
>> media if it's repulsive enough." (Robert Anton Wilson - The Universe
>> Next Door)
>> http://www.residuum.org/
>>
>> _______________________________________________
>> Pd-announce mailing list
>> Pd-announce at iem.at
>> http://lists.puredata.info/listinfo/pd-announce
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> 
> 
> 


-- 
"In an era when everything can be surveiled, all we have left is
politeness."
(Major Napier in: Neal Stephenson: The Diamond Age)
http://www.residuum.org/



More information about the Pd-list mailing list