cURL

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1314 Build failure cross-compiling for x86_64-w64-mingw32 target

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Mon, 23 Dec 2013 22:19:52 +0000

Thanks. Clearly your pthread_t type is not a scalar type. I found this post that might be relevant: http://sourceware.org/ml/pthreads-win32/2011/msg00000.html

Can you think of a way to define curl_thread_t_null differently so that the code works for you and other pthread implementations?

Alternatively we change the internal API to not do comparisons with the pthread_t value, which seems to be the proper way to do this.

Are you able to provide a patch

---
** [bugs:#1314] Build failure cross-compiling for x86_64-w64-mingw32 target**
**Status:** open
**Created:** Mon Dec 23, 2013 05:01 PM UTC by Luke-Jr
**Last Updated:** Mon Dec 23, 2013 05:01 PM UTC
**Owner:** Daniel Stenberg
OS: Gentoo stable x86 (32-bit)
Target: crossdev x86_64-w64-mingw32 (MingW64)
Versions affected: at least 7.33.0 and 7.34.0
curl_threads.c: In function 'Curl_thread_create':
curl_threads.c:69:5: error: conversion to non-scalar type requested
curl_threads.c:76:5: error: conversion to non-scalar type requested
curl_threads.c: In function 'Curl_thread_destroy':
curl_threads.c:84:3: error: conversion to non-scalar type requested
curl_threads.c: In function 'Curl_thread_join':
curl_threads.c:92:3: error: conversion to non-scalar type requested
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2013-12-23

These mail archives are generated by hypermail.

donate! Page updated December 19, 2013.
web site info

File upload with ASP.NET