16 messages in com.mysql.lists.plusplusRe: Visual C++
FromSent OnAttachments
Keith MacDonald29 Nov 2000 03:45 
Bruce E. Wells29 Nov 2000 07:20 
luc...@mach8.nl29 Nov 2000 07:27 
Thimble Smith29 Nov 2000 09:52 
Jupiter Punungwe29 Nov 2000 10:29 
Keith MacDonald29 Nov 2000 11:01 
Keith MacDonald29 Nov 2000 11:08 
Jacques Huard29 Nov 2000 11:42 
luc...@mach8.nl29 Nov 2000 11:51 
Jupiter Punungwe30 Nov 2000 02:13 
Florian G. Pflug30 Nov 2000 17:06 
Don Thompson30 Nov 2000 23:32 
Keith MacDonald01 Dec 2000 02:27 
Florian G. Pflug01 Dec 2000 16:20 
Keith MacDonald02 Dec 2000 03:32 
Jupiter Punungwe02 Dec 2000 04:48 
Subject:Re: Visual C++
From:Florian G. Pflug (fg@phlo.org)
Date:11/30/2000 05:06:06 PM
List:com.mysql.lists.plusplus

On Wed, Nov 29, 2000 at 08:51:33PM +0100, luc@mach8.nl wrote:

Hey Keith have you ever heard of the commands

ren *.hh *.hpp

ren *.cc *.cpp

Anyway I wonder what your problem is. Any good compiler can include any file

#include <whatever.hh> works exactly the same way as #include <whatever.hpp> or #include <whatever.xqj> provide the contents of the included files are the same.

Besides MySQL is a database PRIMALY developed on Linux/Unix systems and is open source so the naming conventions are PRIMARILY for people with that background.

Yes but why should people who want to develop aplications for the windows platform (since every regular computer has windows....) have to strugle to get it done with the most used compiler?

Hi

I think this thread is ridiculous.

First, I never used Visual C++ für any real work (I just once helped a classmate with his project). But I am still quite sure that there is a way to tell visual c++ to compile .cc files as c++ sourcefiles.

This was even possible with Borland C für DOS (5.0 was the version I think)

And if its not, a simple perl/shell/whatever script can easily convert the filenames. Since the Makefile/autoconf/... things are useless on windows anyway, you just need to rename all files from .cc to .cc and from .hh to .h (or whatever), remember the old filenames, and replace them with the newones in all the source-files.

This takes less than an hour when done as a unix shell script using sed,...

Don't know for Windows, but even in C/C++ this will hardly take a day.

mfg, Florian Pflug