[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#822718: flrig: FTBFS with GCC 6: reference to 'ignore' is ambiguous



Package: flrig
Version: 1.3.24-1
Severity: normal
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-reference-ambiguous

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but will probably come out this week.

You can find GCC 6 in unstable (gcc-6).  To build with
GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> g++ -DHAVE_CONFIG_H -I.  -I. -I./include -I./xmlrpcpp -Wdate-time -D_FORTIFY_SOURCE=2 -I./xmlrpcpp  -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -fvisibility-inlines-hidden  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -I. -I./include   -pipe -Wall -fexceptions -O2 -ffast-math -finline-functions -fomit-frame-pointer   -DNDEBUG -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o support/flrig-xml_io.o `test -f 'support/xml_io.cxx' || echo './'`support/xml_io.cxx
> support/xml_io.cxx: In function 'void send_modes()':
> support/xml_io.cxx:158:3: error: reference to 'ignore' is ambiguous
>    ignore = 2;
>    ^~~~~~
> support/xml_io.cxx:88:5: note: candidates are: int ignore
>  int ignore = 0; // skip next "ignore" read loops
>      ^~~~~~
> In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
>                  from /usr/include/c++/6/map:61,
>                  from ./xmlrpcpp/XmlRpcServer.h:25,
>                  from ./xmlrpcpp/XmlRpc.h:30,
>                  from support/xml_io.cxx:34:
> /usr/include/c++/6/tuple:1541:25: note:                 const std::_Swallow_assign std::ignore
>    const _Swallow_assign ignore{};
>                          ^~~~~~
> support/xml_io.cxx: In function 'void send_bandwidths()':
> support/xml_io.cxx:179:3: error: reference to 'ignore' is ambiguous
>    ignore = 2;
>    ^~~~~~
> support/xml_io.cxx:88:5: note: candidates are: int ignore
>  int ignore = 0; // skip next "ignore" read loops
>      ^~~~~~
> In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
>                  from /usr/include/c++/6/map:61,
>                  from ./xmlrpcpp/XmlRpcServer.h:25,
>                  from ./xmlrpcpp/XmlRpc.h:30,
>                  from support/xml_io.cxx:34:
> /usr/include/c++/6/tuple:1541:25: note:                 const std::_Swallow_assign std::ignore
>    const _Swallow_assign ignore{};
>                          ^~~~~~
> support/xml_io.cxx: In function 'void send_name()':
> support/xml_io.cxx:193:3: error: reference to 'ignore' is ambiguous
>    ignore = 2;
>    ^~~~~~
> support/xml_io.cxx:88:5: note: candidates are: int ignore
>  int ignore = 0; // skip next "ignore" read loops
>      ^~~~~~
> In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
>                  from /usr/include/c++/6/map:61,
>                  from ./xmlrpcpp/XmlRpcServer.h:25,
>                  from ./xmlrpcpp/XmlRpc.h:30,
>                  from support/xml_io.cxx:34:
> /usr/include/c++/6/tuple:1541:25: note:                 const std::_Swallow_assign std::ignore
>    const _Swallow_assign ignore{};
>                          ^~~~~~
> support/xml_io.cxx: In function 'void send_ptt_changed(bool)':
> support/xml_io.cxx:207:3: error: reference to 'ignore' is ambiguous
>    ignore = 2;
>    ^~~~~~
> support/xml_io.cxx:88:5: note: candidates are: int ignore
>  int ignore = 0; // skip next "ignore" read loops
>      ^~~~~~
> In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
>                  from /usr/include/c++/6/map:61,
>                  from ./xmlrpcpp/XmlRpcServer.h:25,
>                  from ./xmlrpcpp/XmlRpc.h:30,
>                  from support/xml_io.cxx:34:
> /usr/include/c++/6/tuple:1541:25: note:                 const std::_Swallow_assign std::ignore
>    const _Swallow_assign ignore{};
>                          ^~~~~~
> support/xml_io.cxx: In function 'void send_new_freq(long int)':
> support/xml_io.cxx:222:3: error: reference to 'ignore' is ambiguous
>    ignore = 2;
>    ^~~~~~
> support/xml_io.cxx:88:5: note: candidates are: int ignore
>  int ignore = 0; // skip next "ignore" read loops
>      ^~~~~~
> In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
>                  from /usr/include/c++/6/map:61,
>                  from ./xmlrpcpp/XmlRpcServer.h:25,
>                  from ./xmlrpcpp/XmlRpc.h:30,
>                  from support/xml_io.cxx:34:
> /usr/include/c++/6/tuple:1541:25: note:                 const std::_Swallow_assign std::ignore
>    const _Swallow_assign ignore{};
>                          ^~~~~~
> support/xml_io.cxx: In function 'void send_smeter_val(int)':
> support/xml_io.cxx:236:3: error: reference to 'ignore' is ambiguous
>    ignore = 2;
>    ^~~~~~
> support/xml_io.cxx:88:5: note: candidates are: int ignore
>  int ignore = 0; // skip next "ignore" read loops
>      ^~~~~~
> In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
>                  from /usr/include/c++/6/map:61,
>                  from ./xmlrpcpp/XmlRpcServer.h:25,
>                  from ./xmlrpcpp/XmlRpc.h:30,
>                  from support/xml_io.cxx:34:
> /usr/include/c++/6/tuple:1541:25: note:                 const std::_Swallow_assign std::ignore
>    const _Swallow_assign ignore{};
>                          ^~~~~~
> support/xml_io.cxx: In function 'void send_pwrmeter_val(int)':
> support/xml_io.cxx:250:3: error: reference to 'ignore' is ambiguous
>    ignore = 2;
>    ^~~~~~
> support/xml_io.cxx:88:5: note: candidates are: int ignore
>  int ignore = 0; // skip next "ignore" read loops
>      ^~~~~~
> In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
>                  from /usr/include/c++/6/map:61,
>                  from ./xmlrpcpp/XmlRpcServer.h:25,
>                  from ./xmlrpcpp/XmlRpc.h:30,
>                  from support/xml_io.cxx:34:
> /usr/include/c++/6/tuple:1541:25: note:                 const std::_Swallow_assign std::ignore
>    const _Swallow_assign ignore{};
>                          ^~~~~~
> support/xml_io.cxx: In function 'void send_new_notch(int)':
> support/xml_io.cxx:264:3: error: reference to 'ignore' is ambiguous
>    ignore = 2;
>    ^~~~~~
> support/xml_io.cxx:88:5: note: candidates are: int ignore
>  int ignore = 0; // skip next "ignore" read loops
>      ^~~~~~
> In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
>                  from /usr/include/c++/6/map:61,
>                  from ./xmlrpcpp/XmlRpcServer.h:25,
>                  from ./xmlrpcpp/XmlRpc.h:30,
>                  from support/xml_io.cxx:34:
> /usr/include/c++/6/tuple:1541:25: note:                 const std::_Swallow_assign std::ignore
>    const _Swallow_assign ignore{};
>                          ^~~~~~
> support/xml_io.cxx: In function 'void send_new_mode(int)':
> support/xml_io.cxx:302:3: error: reference to 'ignore' is ambiguous
>    ignore = 2;
>    ^~~~~~
> support/xml_io.cxx:88:5: note: candidates are: int ignore
>  int ignore = 0; // skip next "ignore" read loops
>      ^~~~~~
> In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
>                  from /usr/include/c++/6/map:61,
>                  from ./xmlrpcpp/XmlRpcServer.h:25,
>                  from ./xmlrpcpp/XmlRpc.h:30,
>                  from support/xml_io.cxx:34:
> /usr/include/c++/6/tuple:1541:25: note:                 const std::_Swallow_assign std::ignore
>    const _Swallow_assign ignore{};
>                          ^~~~~~
> support/xml_io.cxx: In function 'void send_new_bandwidth(int)':
> support/xml_io.cxx:318:3: error: reference to 'ignore' is ambiguous
>    ignore = 2;
>    ^~~~~~
> support/xml_io.cxx:88:5: note: candidates are: int ignore
>  int ignore = 0; // skip next "ignore" read loops
>      ^~~~~~
> In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
>                  from /usr/include/c++/6/map:61,
>                  from ./xmlrpcpp/XmlRpcServer.h:25,
>                  from ./xmlrpcpp/XmlRpc.h:30,
>                  from support/xml_io.cxx:34:
> /usr/include/c++/6/tuple:1541:25: note:                 const std::_Swallow_assign std::ignore
>    const _Swallow_assign ignore{};
>                          ^~~~~~
> support/xml_io.cxx: In function 'void send_sideband()':
> support/xml_io.cxx:332:3: error: reference to 'ignore' is ambiguous
>    ignore = 2;
>    ^~~~~~
> support/xml_io.cxx:88:5: note: candidates are: int ignore
>  int ignore = 0; // skip next "ignore" read loops
>      ^~~~~~
> In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
>                  from /usr/include/c++/6/map:61,
>                  from ./xmlrpcpp/XmlRpcServer.h:25,
>                  from ./xmlrpcpp/XmlRpc.h:30,
>                  from support/xml_io.cxx:34:
> /usr/include/c++/6/tuple:1541:25: note:                 const std::_Swallow_assign std::ignore
>    const _Swallow_assign ignore{};
>                          ^~~~~~
> support/xml_io.cxx: In function 'void check_for_notch_change(const XmlRpc::XmlRpcValue&)':
> support/xml_io.cxx:437:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>    Fl::awake(setNotchControl, (void *)ntch);
>                                       ^~~~
> support/xml_io.cxx: In function 'void send_rig_info()':
> support/xml_io.cxx:504:3: error: reference to 'ignore' is ambiguous
>    ignore = 2;
>    ^~~~~~
> support/xml_io.cxx:88:5: note: candidates are: int ignore
>  int ignore = 0; // skip next "ignore" read loops
>      ^~~~~~
> In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
>                  from /usr/include/c++/6/map:61,
>                  from ./xmlrpcpp/XmlRpcServer.h:25,
>                  from ./xmlrpcpp/XmlRpc.h:30,
>                  from support/xml_io.cxx:34:
> /usr/include/c++/6/tuple:1541:25: note:                 const std::_Swallow_assign std::ignore
>    const _Swallow_assign ignore{};
>                          ^~~~~~
> support/xml_io.cxx: In function 'void get_fldigi_status()':
> support/xml_io.cxx:529:6: error: reference to 'ignore' is ambiguous
>   if (ignore) {
>       ^~~~~~
> support/xml_io.cxx:88:5: note: candidates are: int ignore
>  int ignore = 0; // skip next "ignore" read loops
>      ^~~~~~
> In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
>                  from /usr/include/c++/6/map:61,
>                  from ./xmlrpcpp/XmlRpcServer.h:25,
>                  from ./xmlrpcpp/XmlRpc.h:30,
>                  from support/xml_io.cxx:34:
> /usr/include/c++/6/tuple:1541:25: note:                 const std::_Swallow_assign std::ignore
>    const _Swallow_assign ignore{};
>                          ^~~~~~
> support/xml_io.cxx:530:5: error: reference to 'ignore' is ambiguous
>    --ignore;
>      ^~~~~~
> support/xml_io.cxx:88:5: note: candidates are: int ignore
>  int ignore = 0; // skip next "ignore" read loops
>      ^~~~~~
> In file included from /usr/include/c++/6/bits/stl_map.h:63:0,
>                  from /usr/include/c++/6/map:61,
>                  from ./xmlrpcpp/XmlRpcServer.h:25,
>                  from ./xmlrpcpp/XmlRpc.h:30,
>                  from support/xml_io.cxx:34:
> /usr/include/c++/6/tuple:1541:25: note:                 const std::_Swallow_assign std::ignore
>    const _Swallow_assign ignore{};
>                          ^~~~~~
> Makefile:2385: recipe for target 'support/flrig-xml_io.o' failed
> make[3]: *** [support/flrig-xml_io.o] Error 1

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise


Reply to: