Date: Sun, 8 Aug 1999 14:38:56 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: dnult cc: djgpp AT delorie DOT com Subject: Re: parse error on 'using namespace std;' In-Reply-To: <7odlbc$p9k$1@bgtnsc03.worldnet.att.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 5 Aug 1999, dnult wrote: > int main() { > using std::copy; > using std::cout; > ... > > The compiler complains "In function int main(), parse error before 'using'". > If I comment out the namespace specifiers the code compiles fine, (but > doesn't run). GCC 2.8.1 doesn't support namespaces, AFAIK.