On Thu, Mar 06, 2014 at 06:18:43PM +0100, Toralf Förster wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> i686-pc-linux-gnu-gcc -O2 -march=native -pipe -g -ggdb -Wall -W -I.
> -Iinclude/ -Wimplicit -D_GNU_SOURCE -D__linux__
> -Wdeclaration-after-statement -Wformat=2 -Winit-self -Wlogical-op
> -Wnested-externs -Wpacked -Wshadow -Wstrict-aliasing=3 -Wswitch-enum -Wundef
> -Wwrite-strings -Wno-format-nonliteral -Wstrict-prototypes
> -Wmissing-prototypes -Werror -Wl,-O1 -Wl,--as-needed -o
> interesting-numbers.o -c interesting-numbers.c
> i686-pc-linux-gnu-gcc -O2 -march=native -pipe -g -ggdb -Wall -W -I.
> -Iinclude/ -Wimplicit -D_GNU_SOURCE -D__linux__
> -Wdeclaration-after-statement -Wformat=2 -Winit-self -Wlogical-op
> -Wnested-externs -Wpacked -Wshadow -Wstrict-aliasing=3 -Wswitch-enum -Wundef
> -Wwrite-strings -Wno-format-nonliteral -Wstrict-prototypes
> -Wmissing-prototypes -Werror -Wl,-O1 -Wl,--as-needed -o locks.o -c locks.c
> i686-pc-linux-gnu-gcc -O2 -march=native -pipe -g -ggdb -Wall -W -I.
> -Iinclude/ -Wimplicit -D_GNU_SOURCE -D__linux__
> -Wdeclaration-after-statement -Wformat=2 -Winit-self -Wlogical-op
> -Wnested-externs -Wpacked -Wshadow -Wstrict-aliasing=3 -Wswitch-enum -Wundef
> -Wwrite-strings -Wno-format-nonliteral -Wstrict-prototypes
> -Wmissing-prototypes -Werror -Wl,-O1 -Wl,--as-needed -o log.o -c log.c
> locks.c: In function ‘lock’:
> locks.c:4:19: error: declaration of ‘lock’ shadows a global declaration
> [-Werror=shadow]
> locks.c:4:6: error: shadowed declaration is here [-Werror=shadow]
> locks.c: In function ‘unlock’:
> locks.c:12:21: error: declaration of ‘lock’ shadows a global declaration
> [-Werror=shadow]
> locks.c:4:6: error: shadowed declaration is here [-Werror=shadow]
> cc1: all warnings being treated as errors
> make: *** [locks.o] Error 1
> make: *** Waiting for unfinished jobs....
> * ERROR: dev-util/trinity-9999::toralf failed (compile phase):
> * emake failed
> *
should be fixed as of 4cbfe382138d930209043ab57a648a3df5cfb46a
Dave
--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html