compiler options/warnings

Ralf Nolden nolden at kde.org
Sat Jan 27 14:26:51 GMT 2001


mh wrote:
> 
> Hi,
> whenever I create a project with KDevelop1.3, it compiles with the following
> compiler options/warnings:
> 
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/sourcepackages/qt-2.2.1/include
> -I/usr/X11R6/include    -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W
> -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long
> -fno-builtin -O0 -g3 -Wall  -c blubview.cpp
> 
> Remark:
> The compiler warnings are set to -Wall (== only this checkbox is selected)
> under Project->Options->Warnings tab. Optimization isn't turned on at all and
> the debuglevel is set to 3.
> Why do I get -O2 */and*/ -O0? And where do all the other settings come from,
> like -W -Wpointer-arith and so on?

These are default settings that /admin uses. You can overwrite them -
you´re doing that here with -O0 -g3 for example
-- 
The only way to get rid of a temptation is to yield to it. Oscar Wilde

**********************************
Ralf Nolden

The KDevelop Project
http://www.kdevelop.org

nolden at kde.org
rnolden at kdevelop.org
**********************************

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list