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

Xiaoyun Kong kong55 at us.ibm.com
Tue Apr 8 17:41:53 EDT 2003





I tried both reinterpret_cast and static_cast in this case but neither
worked. :-(

Best,

Sharon (Xiaoyun) Kong
==================================================
Manufacturing and Yield Enhancement
IBM EDA Fishkill
Phone:  845-892-4489
T/L:        532-4489



|---------+---------------------------->
|         |           ladanyi at watson.ib|
|         |           m.com            |
|         |                            |
|         |           04/08/03 05:30 PM|
|         |                            |
|---------+---------------------------->
  >--------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                    |
  |       To:       Xiaoyun Kong/Fishkill/IBM at IBMUS                                                                    |
  |       cc:       coin-discuss at www-124.southbury.usf.ibm.com                                                         |
  |       Subject:  Re: [Coin-discuss] Compile on 64bit AIX with xlC                                                   |
  |                                                                                                                    |
  >--------------------------------------------------------------------------------------------------------------------|




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