OFF-TOPIC: gcc and comments



    All,
	This is somewhat off topic, my apologies.  I just know somebody
here has the answer...

	I have just taken over a code base of C code that contains C++
style comments  // like this.

	I want to compile this with gcc, but it complains about the non-C 
comments.  Do I need to use g++, or can I make gcc recognize the //
comments somehow?

	Sorry about the stupid question.  I couldn't find anything about
this in the man page...


Thanks,
Derek



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]