[Coin-discuss] Compile on 64bit AIX with xlC

Laszlo Ladanyi ladanyi at us.ibm.com
Tue Apr 8 17:30:44 EDT 2003


Try to replace the '(int) xxx' casts on those lines with
'reinterpret_cast<int>(xxx)', and let us know whether that works.

--Laci

On Tue, 8 Apr 2003, Xiaoyun Kong wrote:

> 
> Dear Coin,
> I am having trouble compile Coin library on 64bit AIX system with xlC.
> Compiling CoinIndexedVector.cpp
> "CoinIndexedVector.cpp", line 418.22: 1540-0216 (S) An expression of type
> "double *" cannot be converted to "int".
> "CoinIndexedVector.cpp", line 422.18: 1540-0216 (S) An expression of type
> "double *" cannot be converted to "int".
> gmake[1]: *** [AIX-O/CoinIndexedVector.o] Error 1
> 
> It works fine on 32bit system. Anyone knows how to get around this problem?
> 
> Thanks in advance!
> 
> Sharon (Xiaoyun) Kong
> ==================================================
> Manufacturing and Yield Enhancement
> IBM EDA Fishkill
> Phone:  845-892-4489
> T/L:        532-4489
> 
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at www-124.ibm.com
> http://www-124.ibm.com/developerworks/oss/mailman/listinfo/coin-discuss
> 




More information about the Coin-discuss mailing list