From new-httpd-return-18378-apmail-new-httpd-archive=apache.org@apache.org Mon Aug 06 15:09:23 2001 Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 84735 invoked by uid 500); 6 Aug 2001 15:09:22 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 84724 invoked from network); 6 Aug 2001 15:09:22 -0000 Errors-To: Message-ID: <254101c11e89$5fffff90$93c0b0d0@roweclan.net> From: "William A. Rowe, Jr." To: References: Subject: Re: cvs commit: httpd-2.0/modules/http mod_mime.c Date: Mon, 6 Aug 2001 10:05:28 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Status: O X-Status: X-Keywords: X-UID: 135 From: "Jeff Trawick" Sent: Monday, August 06, 2001 7:22 AM > weird... > > (this may be my lack of Visual Studio 5.0 skills, but anyway...) I > just tried to create a new C file and there wasn't such a thing on the > menu. I can create a "C/C++ Header File" or a "C++ Source File." If you are looking at colored code, you will see this. Grab any apr initializer, you will see the ide highlights c++ keywords like new and delete even if the source file is .c. > >From the command-line (cl.exe) I tried to compile something like > > int main(void) { char x; x = 0; char y; y = 1; return 0; } > > and it failed if the file was named test.c and it succeeded if the > file was named test.cpp. > > I wonder if newer levels of Visual Studio or the compiler itself > aren't doing the right thing (or there is something in/missing from > the project file which tells it to treat everything as c++... As I mentioned, it's even possible that it didn't compile at all. Fixed now, and I'll try waiting to commit till the next morning, next time :) Bill