Am Dienstag, 1. August 2006 01:27 schrieb Patrice Dumas:
> Hello,
>
> Currently -Wall is added to most of the CFLAGS, and sometimes -ansi
> and -pedantic are added.

I did that;)

> I think that it is bad, setting CFLAGS 
> (except for -I) should be left to the user compiling elektra (or the
> packager) and ./configure.

The problem is many parts throw out hundret of warnigns when compiling with 
-Wall. I even think some parts fail with -ansi and -pedantic (correct me if I 
am not right).

That was the reason why I added it there where it compiles with that options.

> This for 2 reasons: 
> * for portability (those flags may break some compilers)

elektra does not work with anything then gcc for now;)
But you are right.

> * to left the choice to the use compiling elektra. For example a
>   user may ant to set -Werror but not -Wall

can't do that both?

> If you agree I can take care of removing the unneeded flags.

If you can convice me, I will remove it (and not add it anywhere again). But 
gcc is the only working and does -Werror and-Wall break it?

Can you show me another solution to add -ansi -pedantic for only parts of 
elektra?

thank you
Markus Raab

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Registry-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/registry-list

Reply via email to