delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/31/08:46:55

Newsgroups: comp.os.msdos.djgpp
From: "William A. Barath" <wi534 AT victoria DOT tc DOT canada>
Subject: Re: Optmization and Exceptions
In-Reply-To: <OG5YUSZE9GA.170@upnetnews04>
Message-ID: <Pine.GSO.3.95.iB1.0.971231040131.23333I-100000@vtn1>
Sender: news AT freenet DOT victoria DOT bc DOT ca (News Manager)
Organization: Victoria Telecommunity Network
References: <OG5YUSZE9GA DOT 170 AT upnetnews04>
Mime-Version: 1.0
Date: Wed, 31 Dec 1997 12:03:58 GMT
Lines: 17
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Thu, 25 Dec 1997, DeHackEd wrote:

|3) Exceptions often cause the compiler to have an internal compiler error
|message. Take a look at a simple program like this (I know I am using C, not
|C++, screen routines, but it makes the output much nicer)
|// This program does not link if -O3 compiled! Can you find the error?
|// And you need to link in -lstdcx

If you read the FAQ or the INFO on C++, you would know that you can't
enable inlining (reliably) when compiling C++ code.  -O3 turns on
inlining, hence the error. 

Wil Barath, aka WseM : "I feel as though I see my pen to write"
Author of VPM, EDITPLN, and other VGA Planets support programs
Visit my homepage! -------------> http://victoria.tc.ca/~wi534


---------
A. Sinan Unur
Department of Policy Analysis and Management, College of Human Ecology,
Cornell University, Ithaca, NY 14853, USA

mailto:sinan DOT unur AT cornell DOT edu
http://www.people.cornell.edu/pages/asu1/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019