[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Proposal: Making Debian compiler agnostic



On Tue, Aug 28, 2012 at 17:18:48 +0200, Sylvestre Ledru wrote:

> Our project's intent is not to change the default compiler, just use a
> secondary compiler to generate more errors or warnings for package
> maintainers to be aware of. In most cases, keeping both compilers happy
> would result in higher quality code, something I think we can all get
> behind.
> 
I'm not so sure about that.

[...]
> Therefore, we would like to propose an update of Debian policy, to take
> effect after the Wheezy release.
> 
> "4.9 Main building script: debian/rules"
> stating:
> -----
> Hardcoded usage of CC or CXX (for example, CC=gcc) should be avoid and
> documented if necessary.
> Debian build tools must respect the CC and CXX variables if provided. If
> not, they shall default to /usr/bin/cc and /usr/bin/c++
> -----
> 
> If a rough consensus is reached it is our intent to make this into a
> release goal.
> 
I would very much object to this.  It might be ok to make a case for
minor bugs, but I think making it a release goal (meaning
severity:important) or a must in policy OTOH is a bad idea.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: