Re: linking cygwin built dll with Borland C++Builder

2002-05-23 Thread René Møller Fonseca
Tell the compilers to pack the struct's (if different alignment is the problem). For GCC use: __attribute__((packed)) For Borland compiler use (I think): #pragma pack René Dennis Jarosch wrote: > Hi Rob! > > Robert Collins wrote: > >> Mixing C++ between compilers generally doesn't work. See

Re: pthread_t and strict standards compliance

2002-04-24 Thread René Møller Fonseca
reat it as an opaque type anyway, > just storing or passing around to next thread function! > What's the sense of the sum or difference of pthread_t's? > Wait, you can also compare for equality, > but that works for pointers... > > Bye, Heribert ([EMAIL PROTECTED]) >

pthread_t and strict standards compliance

2002-04-24 Thread René Møller Fonseca
Hi, I was porting my framework to Cygwin and noticed that pthread_t is a typedef of a void pointer. According to "The Single UNIX Specification, Version 2" and "IEEE Std 1003.1-2001" pthread_t must be defined as an arithmetic type (i.e. either a floating-point type or an integral type). The p