* GCC 4.9 build error child.c:274:14: error: variable 'lastop' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
@ 2014-04-14 18:42 Vinson Lee
2014-04-16 3:27 ` Dave Jones
0 siblings, 1 reply; 2+ messages in thread
From: Vinson Lee @ 2014-04-14 18:42 UTC (permalink / raw)
To: trinity
This build error occurs with GCC 4.9.
$ gcc --version
gcc (GCC) 4.9.0 20140411 (Red Hat 4.9.0-0.10)
Copyright (C) 2014 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.
$ make
[...]
CC child.o
child.c: In function 'child_process':
child.c:274:14: error: variable 'lastop' might be clobbered by
'longjmp' or 'vfork' [-Werror=clobbered]
const char *lastop = NULL;
^
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: GCC 4.9 build error child.c:274:14: error: variable 'lastop' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
2014-04-14 18:42 GCC 4.9 build error child.c:274:14: error: variable 'lastop' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered] Vinson Lee
@ 2014-04-16 3:27 ` Dave Jones
0 siblings, 0 replies; 2+ messages in thread
From: Dave Jones @ 2014-04-16 3:27 UTC (permalink / raw)
To: Vinson Lee; +Cc: trinity
On Mon, Apr 14, 2014 at 11:42:11AM -0700, Vinson Lee wrote:
> This build error occurs with GCC 4.9.
>
> $ gcc --version
> gcc (GCC) 4.9.0 20140411 (Red Hat 4.9.0-0.10)
> Copyright (C) 2014 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.
>
> $ make
> [...]
> CC child.o
> child.c: In function 'child_process':
> child.c:274:14: error: variable 'lastop' might be clobbered by
> 'longjmp' or 'vfork' [-Werror=clobbered]
> const char *lastop = NULL;
> ^
heh, I had a hard disk accident last weekend, so hadn't gotten around to
trying 4.9 until this morning. Should be fixed now.
Was actually quite surprised this was the only new warning.
Dave
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-16 3:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-14 18:42 GCC 4.9 build error child.c:274:14: error: variable 'lastop' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered] Vinson Lee
2014-04-16 3:27 ` Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).