home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / 21612 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.1 KB

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