tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Stevens <katma...@volcanomail.com>
Subject Re: Compiling mod_jk on FreeBSD
Date Thu, 13 Oct 2005 19:58:23 GMT


--- Randy Kunkee <randy@randallkunkee.com> wrote:


>Haven't looked at the code, but probably "t" is not an int. If it's a  
>pointer, you're in for trouble.
>
>Just to take a stab at it, try just casting the t instead of the  
>whole expression. The following should compile and might even work:
>
>        int tid = (int)t & 0xFFFF;

That does indeed compile; I have not tested it yet to see if it actually works.  It is odd
that the same code compiles on Solaris, though with gcc 3.3.2. Perhaps a compiler oddity with
gcc 3.4?  

-- 
Mike


_____________________________________________________________
Tired of spam and viruses? Get a VolcanoMail account with SpamShield Pro and Anti-Virus technology!
http://www.volcanomail.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message