Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2015 02:03:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 197909] security/obfsclient fails to build with GCC 4.9
Message-ID:  <bug-197909-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: gerald@FreeBSD.org
                CC: fk@fabiankeil.de
            Blocks: 196712
             Flags: maintainer-feedback?(fk@fabiankeil.de)
                CC: fk@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@FreeBSD.org> ---
Maintainer CC'd

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197909-13>