This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: compiling app using libstdc++
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: Re: compiling app using libstdc++
- From: Benjamin Kosnik <bkoz at cygnus dot com>
- Date: Wed, 1 Dec 1999 15:01:28 -0800 (PST)
> LyX even runs. Although, it took 2 hrs to compile. I'll turn of the -g
> switch form now on... (I also noted that I had to compile with
> exceptions turned on)
Yikes. Note that there has been no performance analysis/tuning for either
executable speed, compilation time, or executable size.
That being said. . .
> I tried to compile with "-ansi -Wall -Weffc++", something I consider
> useful with a lot of applications. However this generates a _lot_ of
> warnings from the stdc++ headers.
Yeah. -Wall should work now, -ansi is not really worthwhile now, because
of the
#include_next
stuff, which generates masses of warnings.
If you are interested in cleaning headers, I'd start with -Weffc++ stuff.
-benjamin