Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-90935

qtconnectivity: build fails on gcc 11.0.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.15.2
    • None
    • Linux/Wayland

    Description

      [ 56%] Building CXX object CMakeFiles/fishlib.dir/src/history.cpp.o
      /usr/bin/g++ -DBINDIR=L\"/usr/bin\" -DCMAKE_BINARY_DIR=\"/home/tkloczko/rpmbuild/BUILD/fish-shell-3.1.2/x86_64-redhat-linux-gnu\" -DCMAKE_SOURCE_DIR=\"/home/tkloczko/rpmbuild/BUILD/fish-shell-3.1.2\" -DDATADIR=L\"/usr/share\" -DDOCDIR=L\"/usr/share/doc/fish\" -DLOCALEDIR=\"/usr/share/locale\" -DPREFIX=L\"/usr\" -DSYSCONFDIR=L\"/etc\" -D_REENTRANT -D_UNICODE=1 -I/home/tkloczko/rpmbuild/BUILD/fish-shell-3.1.2/x86_64-redhat-linux-gnu -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -fno-rtti -fno-exceptions -DHAVE_NCURSES_H -Wall -Wextra -Wno-implicit-fallthrough -Wno-comment -Wno-address -Wno-strict-aliasing -Wno-redundant-move  -O2 -g  -fno-exceptions -pthread -std=gnu++11 -o CMakeFiles/fishlib.dir/src/history.cpp.o -c /home/tkloczko/rpmbuild/BUILD/fish-shell-3.1.2/src/history.cpp
      /home/tkloczko/rpmbuild/BUILD/fish-shell-3.1.2/src/builtin_set_color.cpp: In function 'int builtin_set_color(parser_t&, io_streams_t&, wchar_t**)':
      /home/tkloczko/rpmbuild/BUILD/fish-shell-3.1.2/src/builtin_set_color.cpp:183:9: error: 'cur_term' was not declared in this scope
        183 |     if (cur_term == nullptr || !exit_attribute_mode) {
            |         ^~~~~~~~
      /home/tkloczko/rpmbuild/BUILD/fish-shell-3.1.2/src/builtin_set_color.cpp:183:33: error: 'exit_attribute_mode' was not declared in this scope
        183 |     if (cur_term == nullptr || !exit_attribute_mode) {
            |                                 ^~~~~~~~~~~~~~~~~~~
      /home/tkloczko/rpmbuild/BUILD/fish-shell-3.1.2/src/builtin_set_color.cpp:188:17: error: 'enter_bold_mode' was not declared in this scope
        188 |     if (bold && enter_bold_mode) {
            |                 ^~~~~~~~~~~~~~~
      /home/tkloczko/rpmbuild/BUILD/fish-shell-3.1.2/src/builtin_set_color.cpp:192:22: error: 'enter_underline_mode' was not declared in this scope
        192 |     if (underline && enter_underline_mode) {
            |                      ^~~~~~~~~~~~~~~~~~~~
      /home/tkloczko/rpmbuild/BUILD/fish-shell-3.1.2/src/builtin_set_color.cpp:196:20: error: 'enter_italics_mode' was not declared in this scope
        196 |     if (italics && enter_italics_mode) {
            |                    ^~~~~~~~~~~~~~~~~~
      /home/tkloczko/rpmbuild/BUILD/fish-shell-3.1.2/src/builtin_set_color.cpp:200:16: error: 'enter_dim_mode' was not declared in this scope
        200 |     if (dim && enter_dim_mode) {
            |                ^~~~~~~~~~~~~~
      /home/tkloczko/rpmbuild/BUILD/fish-shell-3.1.2/src/builtin_set_color.cpp:204:20: error: 'enter_reverse_mode' was not declared in this scope
        204 |     if (reverse && enter_reverse_mode) {
            |                    ^~~~~~~~~~~~~~~~~~
      /home/tkloczko/rpmbuild/BUILD/fish-shell-3.1.2/src/builtin_set_color.cpp:206:27: error: 'enter_standout_mode' was not declared in this scope
        206 |     } else if (reverse && enter_standout_mode) {
            |                           ^~~~~~~~~~~~~~~~~~~
      In file included from /home/tkloczko/rpmbuild/BUILD/fish-shell-3.1.2/src/builtin_set_color.cpp:29:
      /home/tkloczko/rpmbuild/BUILD/fish-shell-3.1.2/src/builtin_set_color.cpp:211:45: error: 'exit_attribute_mode' was not declared in this scope
        211 |         writembs_nofail(outp, tparm((char *)exit_attribute_mode));
            |                                             ^~~~~~~~~~~~~~~~~~~
      /home/tkloczko/rpmbuild/BUILD/fish-shell-3.1.2/src/output.h:109:60: note: in definition of macro 'writembs_nofail'
        109 | #define writembs_nofail(outp, mbs) writembs_check((outp), (mbs), #mbs, false, __FILE__, __LINE__)
            |                                                            ^~~
      /home/tkloczko/rpmbuild/BUILD/fish-shell-3.1.2/src/builtin_set_color.cpp:216:49: error: 'exit_attribute_mode' was not declared in this scope
        216 |             writembs_nofail(outp, tparm((char *)exit_attribute_mode));
            |                                                 ^~~~~~~~~~~~~~~~~~~
      /home/tkloczko/rpmbuild/BUILD/fish-shell-3.1.2/src/output.h:109:60: note: in definition of macro 'writembs_nofail'
        109 | #define writembs_nofail(outp, mbs) writembs_check((outp), (mbs), #mbs, false, __FILE__, __LINE__)
            |                                                            ^~~
      ^Cgmake[2]: *** Deleting file 'CMakeFiles/fishlib.dir/src/history.cpp.o'
      gmake[2]: *** Deleting file 'CMakeFiles/fishlib.dir/src/highlight.cpp.o'
      gmake[2]: *** Deleting file 'CMakeFiles/fishlib.dir/src/function.cpp.o'
      gmake[2]: *** Deleting file 'CMakeFiles/fishlib.dir/src/expand.cpp.o'
      
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ablasche Alex Blasche
            kloczek Tomasz Kloczko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes