Mail Archives: djgpp/1997/12/31/08:46:55
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 -