Hello Dave,

On Wednesday 27 July 2005 05:19, DB1 CB14 wrote:
> line 129 of osrng.cpp
>
> int len = read(m_fd, output, STDMIN((unsigned
> int)size, (unsigned int)INT_MAX));

While trying to crosscompile for IA64 using ia64-redhat-linux-gnu-g++ (GCC) 
3.2.3, I experienced same compilation error with STDMIN. My opinion is, that 
casting "size" to "int" is better way, because read() expects "int", anyway 
then there is no need to cast INT_MAX.

Finally, I get again a lot of unresolved symbol while linking. So there is 
still something wrong with it. Can someone test my patch on true IA64 
platform & compiler?

Regards,
Jozef Matula

-- 
IBL Software Engineering, http://www.iblsoft.com  
Mierova 103, 82105 Bratislava, Slovakia

Reply via email to