home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!destroyer!gatech!concert!borg.cs.unc.edu!not-for-mail
- From: bell@cs.unc.edu (Andrew Bell)
- Newsgroups: comp.windows.x
- Subject: Re: compile xxgdb with g++ ?
- Date: 28 Jan 1993 02:17:35 -0500
- Organization: The University of North Carolina at Chapel Hill
- Lines: 17
- Message-ID: <1k81afINNpoo@beethoven.cs.unc.edu>
- References: <1993Jan25.192214.3255@eecs.nwu.edu> <TIMM.93Jan26223627@mpii02999.mpi-sb.mpg.de>
- NNTP-Posting-Host: beethoven.cs.unc.edu
-
- In article <TIMM.93Jan26223627@mpii02999.mpi-sb.mpg.de> timm@mpii02999.mpi-sb.mpg.de (Jan Timm) writes:
- >In article <1993Jan25.192214.3255@eecs.nwu.edu> hmchang@eecs.nwu.edu (Hao-Ming Chang) writes:
- > I would like to compile the xxgdb source codes using g++.
-
- >Why would you want to compile a C program with a C++ Compiler ?
-
- Can't say in this case, but function prototypes, name mangling (which
- basically guarantees the prototypes are accurate), the possibility of
- future expansion along OO lines, and so on are all good reasons to
- compile C code with the C++ compiler. I do that with everything I can
- these days, and recommend it to everyone.
-
- Andrew Bell
- bell@cs.unc.edu
-
-
-
-