home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / g / help / 1443 < prev    next >
Encoding:
Internet Message Format  |  1992-11-16  |  1.4 KB

  1. Path: sparky!uunet!destroyer!fmsrl7!ef2007!pt0204.pto.ford.com!fox
  2. From: fox@pt0204.pto.ford.com (Ken Fox)
  3. Newsgroups: gnu.g++.help
  4. Subject: exception handling via catch and throw
  5. Date: 16 Nov 1992 19:09:43 GMT
  6. Organization: Power Train Systems, Ford Motor Company
  7. Lines: 21
  8. Distribution: world
  9. Message-ID: <1e8rlnINN1hh@ef2007.efhd.ford.com>
  10. Reply-To: fox@pt0204.pto.ford.com
  11. NNTP-Posting-Host: pt0204.pto.ford.com
  12. Keywords: catch, throw, exceptions
  13.  
  14. I would like to use real exceptions in place of longjmp, but I can't
  15. seem to get any exception-related code to compile.  g++ 2.3.1 gives
  16. a core dump when encountering a catch or try, and a parse error
  17. on a throw.  Could somebody *please* (I'm begging here...) point
  18. me in the direction of some documentation concerning the current
  19. state of exception handling in g++?  I hope this isn't a FAQ...
  20.  
  21. Please email.  Thanks in advance.
  22.  
  23. P.S. I didn't gain any substantial insight by looking at the code, other
  24. than to find out I needed additional compile flags to get the exception
  25. code enabled...
  26.  
  27. -- 
  28.  
  29. Ken Fox (fox@pt0204.pto.ford.com)  | My opinions or statements do not
  30.                                    | represent those of, nor are endorsed by,
  31.                                    | Ford Motor Company.
  32. CAD/CAM Technology Section         |
  33. CAD/CAM/CAE Process Integration    | "Is this some sort of trick question
  34. Ford Motor Company                 |  or what?" -- Calvin
  35.