Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [patch 00/16] Portability Patches for git-1.7.1 (v4)

From: Jeff King <hidden>
Date: 2016-06-15 22:48:43

On Tue, Apr 27, 2010 at 10:13:02PM +0200, Andreas Schwab wrote:
Jeff King [off-list ref] writes:
quoted
Furthermore, if we do take such changes, how are we going to manage
portability going forward? Some constructs (like non-constant
initializers) make the code much easier to read. People _will_ submit
patches that use them. Is somebody going to be auto-building on all of
these platforms with vendor compilers to confirm that nothing is broken?
You can use "gcc -pedantic" to find these portability problems.
Sort of. It reports much more than we necessarily need to fix to remain
portable to even remotely sane platforms. So it's a nice tool for
finding problems, but somebody needs to do the work of figuring out
which are important and which are not, and then periodically run with
-pedantic and sort out the results.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help