Web lists-archives.com

Re: [Mingw-users] GCC-4.9.3 is now our current release

Hi Ralph!

A couple of comments, below.

On Wed, Mar 16, 2016 at 10:14 PM, ralph engels <ralphengels@xxxxxxxxx> wrote:
> Damn it runs right to the end and then fails on objc here
> thread_id = (objc_thread_t) new_thread_handle; cannot convert to a
> referral type
> with an error about it not being able to convert it.
> objc_thread_t thread_id; = scalar
> pthread_t new_thread_handle; =  struct

"objc" sounds suspiciously like objective-c to me.  I happily made no
attempt to support objective-c.  (My goal was to get g++ working with
std::thread.)  However, I don't recall doing anything to turn objective-c

> this is from gthr-default.h

My recollection is that gthr-default.h mapped somehow to (maybe it was
simply a copy of) either gthr-posix.h or gthr-win32.h.  My experiments
getting std::thread to work via pthreads-win32 were based on tweaking

> guess its back to the drawing board.

Maybe see whether your gthr-default.h is (more like) gthr-posix.h or
gthr-win32.h (although I'm not sure what that would tell you).

Also, if you don't need to support objective-c, maybe there's some macro
define that turns objective-c threading on or off.  If so, maybe you could
just disable objective-c and your problem might go away.  (Just guessing.)

Again, I'd be curious to know what your specific goal is.

Happy C++ Hacking!

K. Frank

Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
MinGW-users mailing list

This list observes the Etiquette found at 
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe