-O1 instead of -O2

W. Tasin tasin at fhm.edu
Thu Jan 10 06:04:06 GMT 2002


  Franco De Angelis wrote:

>>Apart from the fact that -Wall is good for preventing memory leaks, so 
>>it should be inserted (at least while compiling with kdevelop), on my 
>>system I haven't -Wall activated if I compile the project on command line.
>>So please test it by invoking "make clean; make" on the command line.
>>Maybe -Wall is only a session flag set by kdevelop.
>>
>
>Test results: from kdevelop:
>
>	Build -> Distclean/rebuild all
>
>uses -Wall as well as:
>
>	Build -> Clean
>	Build -> Make
>
>Then, from the command line:
>
>	make clean ; make
>
The -Wall can be (un)set in Project->Options->Compiler Options.
After changing values inside this dialog "./configure" should be called 
automatically, to create the Makefiles with a combination of default and 
kdevelop GUI settings.

>
>STILL uses -Wall, unless I do a 
>
>	./configure by hand
>
>in which case -Wall disappears. (-Wall IS set in kdevelop GUI)
>
>>>[C++]
>>>
>
>>To introduce this flag you have to do the same with like I did in the 
>>last mail within special.m4.in:
>>
>>-------
>>[code sample]
>>
>
>Thank you for the code patch; but where do I have to put it?
>In the configure.in ? There is NO special.m4.in in the C++ project...
>
Sorry it wasn't clear...this should be inserted in configure.in.in after 
the AC_CHECK_COMPILERS call.

>
>Franco
>
Ciao

Walter

-- 
oohhh sveglia.... il mondo e' ammalato, ma x colpa di chi.........
(Zucchero)
:-------W._Tasin,_FB_04,_FHM-------------------PGP-KeyID:0x7961A645---:
<Key-Fingerprint: 1610 835F 0080 32F4 6140  6CF7 A7D0 44CD 7961A645>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=index&search=0x7961A645&fingerprint=on>




-
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