[Dev-C++] c++ style comments and porting problems
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <Ger...@ne...> - 2002-12-18 04:39:55
|
Message: 1 Date: Tue, 17 Dec 2002 18:08:11 +0100 From: =?ISO-8859-1?Q?Carlos_Garc=EDa_del_Monte?= <cg...@wo...> To: dev-cpp-users-list <dev...@li...> Subject: Re: [Dev-C++] ANSI C project You used C++ style comments? mingw generates millions errors if you use them in a C progam; you can maintain them if you add the -std=c99 option to the compiler (in mingw 2.0.0, based on gcc3.2,. If you use previous version, based on gcc 2.95.3-6 perhaps then you need change the comment style) /*****so thats the command line option*******************************/ /**************************thanks dude*******************************/ Teresa Raymond wrote: I opened a project that I had written with Visual C++ 6.0 which had no compiler errors in VC6, but in DevC++ there were about 24 compiler errors. The source code is written in C and not C++ but I selected the Compiler options to support ANSI C. Anyone have an idea as to what is going on here? /*id love to help if you can provide sufficient information about your *problem, like source code, windows version, compiler version, compiler *settings, and error/warning messages. * */ __________________________________________________________________ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ |