Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 1/3] Add an optional <mode> argument to commit/status -u|--untracked-files option

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:44:43

Marius Storm-Olsen [off-list ref] writes:
Ops, obviously it should have been s@\(int\)@(intptr_t)@. Sorry about
that, I'll resend the patch series.
Requeued.
(The option struct in parse_options.h uses intptr_t for the default
value of an option, thus a normal const char * would make the compiler
complain (verified with both Windows MinGW 3.4.5 and Linux GCC 4.1.2))

BTW, which compiler version are you using?
    gcc (GCC) 4.2.3 20071014 (prerelease) (Debian 4.2.2-3)
    Copyright (C) 2007 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

but with -Wold-style-definition -Werror -std=c99 -Wno-pointer-to-int-cast
-Wdeclaration-after-statement etc.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help