[Cgc-tickets] [Coin Graph Classes] #5: dispensable semicolons prohibit compiling with gcc 4.1.0

Coin Graph Classes coin-trac at coin-or.org
Mon May 28 08:20:57 EDT 2007


#5: dispensable semicolons prohibit compiling with gcc 4.1.0
------------------------+---------------------------------------------------
 Reporter:  stefan      |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  minor       |   Milestone:          
Component:  component1  |     Version:          
 Keywords:              |  
------------------------+---------------------------------------------------
 Hi,

 using gcc 4.1.0 in Linux with all COIN-default warning flags enabled, I
 get a problem to compile some of the header files of the Cgc.
 The compiler complains about semicolons at the end of a {{{namespace Cgc {
 ... };}}}.
 The solution is easy: Remove them :-).
 I attach a patch that removes them for those header files that I use, and
 also fixes the bug in DynNetArcIterator::compareHack and adds a
 DynNet::arc_find method.

 Best,
 Stefan

-- 
Ticket URL: <https://projects.coin-or.org/Cgc/ticket/5>
Coin Graph Classes <http://projects.coin-or.org/Cgc>
Coin Graph Classes



More information about the Cgc-tickets mailing list