[Bug 197909] security/obfsclient fails to build with GCC 4.9
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Feb 22 02:03:24 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197909
Bug ID: 197909
Summary: security/obfsclient fails to build with GCC 4.9
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: gerald at FreeBSD.org
CC: fk at fabiankeil.de
Blocks: 196712
Flags: maintainer-feedback?(fk at fabiankeil.de)
CC: fk at fabiankeil.de
This is related to PR 196712 and blocks updating the default version of
GCC from 4.8 to 4.9.
http://package18.nyi.freebsd.org/data/93i386-default-PR196712/2015-01-18_16h49m19s/logs/errors/obfsclient-0.0.2_1.log
g++49 -DHAVE_CONFIG_H -I. -I./src -I. -I/usr/local/include -Wall -Werror
-fno-exceptions -fno-rtti -D_THREAD_SAFE -pthread -I/usr/local/include
-I/usr/local/include -I/usr/include -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc49
-fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc49 -std=c++11 -MT
src/obfsclient-main.o -MD -MP -MF src/.deps/obfsclient-main.Tpo -c -o
src/obfsclient-main.o `test -f 'src/main.cc' || echo './'`src/main.cc
In file included from src/main.cc:49:0:
src/ext/optionparser.h: In static member function 'static bool
option::Parser::workhorse(bool, const option::Descriptor*, int, const char**,
option::Parser::Action&, bool, bool, int)':
src/ext/optionparser.h:1637:47: error: 'optarg' may be used uninitialized in
this function [-Werror=maybe-uninitialized]
if (optarg != 0 && have_more_args && optarg == args[1])
^
src/ext/optionparser.h:1557:11: error: 'idx' may be used uninitialized in this
function [-Werror=maybe-uninitialized]
int idx;
^
cc1plus: all warnings being treated as errors
--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Maintainer CC'd
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list