This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: compiling app using libstdc++



> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]