GCC 4.9 build error child.c:274:14: error: variable 'lastop' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]

Vinson Lee <[email protected]>
Newsgroups org.kernel.vger.trinity
Message-ID <CAHTgTXUQO_5zCZuW_bYE0Vk473=K0-_qR7ZzfghEOKr381Ov=g@mail.gmail.com>
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;
              ^
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.