Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Miles Bader Newsgroups: comp.lang.c++ Subject: Re: why bug in the program Date: Wed, 01 Feb 2012 16:02:36 +0900 Organization: NEC Electronics Lines: 16 Message-ID: References: <3ad325e8-25e0-4f40-a145-d2faa35fe4ed@q8g2000pbb.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain X-Trace: individual.net yQxt23AsETKYqZPioyt5LwEn0hlPbrjXMId3QGTOPQLFvXWRGC Cancel-Lock: sha1:a+GPS6RDO4m3LoLxivMRlEf4Fog= sha1:VgPJeNmEcGWBnkIrK441zAfaPE8= System-Type: x86_64-unknown-linux-gnu Blat: Foop Xref: x330-a1.tempe.blueboxinc.net comp.lang.c++:13683 prava sahoo writes: > When compiled (gcc 2.4.5) It give an error for redefining xxx, but not > for zzz, Do you really have gcc version 2.4.5?! It was released about 20 years ago!!! :OOO [Recent versions of gcc (4.4-4.7) don't give any error for your example.] -miles -- Clarionet, n. An instrument of torture operated by a person with cotton in his ears. There are two instruments that are worse than a clarionet -- two clarionets.