[Coin-discuss] Problems compiling CoinLib under VC++ 6

Paolo p.chila at email.it
Sun May 22 16:28:22 EDT 2005


Laszlo Ladanyi wrote:

>Hi Paolo,
>
>This is a bug in MSVC++ 6. It considers it a syntax error if you use the same
>variable name to define variables in two independent basic block (something
>enclosed in {}). Anyway, I changed the code to work around it by moving the
>definition of iColumn to the beginning of the function. The change is
>committed.
>
>--Laci
>
>On Fri, 20 May 2005, Paolo wrote:
>
>  
>
>>Hi guys,
>>I'm trying to compile COIN using OSL under win32 using VC++ 6
>>
>>Compiler gives me the following error:
>>
>>CoinFactorization2.cpp
>>i:\RicOp2\COIN\Coin\CoinFactorization2.cpp(530) : error C2374: 'iColumn' 
>>: redefinition; multiple initialization
>>        i:\RicOp2\COIN\Coin\CoinFactorization2.cpp(465) : see 
>>declaration of 'iColumn'
>>in project CoinLib
>>
>>Any idea to solve this problem?
>>
>>Thanks
>>
>>Paolo Chil?
>>_______________________________________________
>>Coin-discuss mailing list
>>Coin-discuss at list.coin-or.org
>>http://list.coin-or.org/mailman/listinfo/coin-discuss
>>
>>    
>>
>
>
>_______________________________________________
>Coin-discuss mailing list
>Coin-discuss at list.coin-or.org
>http://list.coin-or.org/mailman/listinfo/coin-discuss
>
>
>  
>
I updated sources with WinCVS but still no result... I think changes you 
have made has not been committed... I'll try moving the declaration 
myself but it would be nice to have the change in sources

Paolo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20050522/cabc0b3c/attachment.html>


More information about the Coin-discuss mailing list