Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. debian faye gcc9 qtcreator9 const auto error
Forum Updated to NodeBB v4.3 + New Features

debian faye gcc9 qtcreator9 const auto error

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 217 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gfxx
    wrote on 11 Aug 2024, 21:45 last edited by
    #1

    on faye creator 9 gcc9 try to compile an example ...but obtain these error .... the same o r similar when try to compile other app with "const auto" macro .... sometime can suggest why and where can be my error ?

    /home/home/Qt/Examples/Qt-5.15.2/charts/donutbreakdown/donutbreakdownchart.cpp:-1: In member function 'void DonutBreakdownChart::updateLegendMarkers()':
    ../donutbreakdown/donutbreakdownchart.cpp: In member function 'void DonutBreakdownChart::updateLegendMarkers()':
    ../donutbreakdown/donutbreakdownchart.cpp:102:6: internal compiler error: Segmentation fault
      102 | void DonutBreakdownChart::updateLegendMarkers()
          |      ^~~~~~~~~~~~~~~~~~~
    

    bkt

    C C 2 Replies Last reply 12 Aug 2024, 04:16
    0
    • G gfxx
      11 Aug 2024, 21:45

      on faye creator 9 gcc9 try to compile an example ...but obtain these error .... the same o r similar when try to compile other app with "const auto" macro .... sometime can suggest why and where can be my error ?

      /home/home/Qt/Examples/Qt-5.15.2/charts/donutbreakdown/donutbreakdownchart.cpp:-1: In member function 'void DonutBreakdownChart::updateLegendMarkers()':
      ../donutbreakdown/donutbreakdownchart.cpp: In member function 'void DonutBreakdownChart::updateLegendMarkers()':
      ../donutbreakdown/donutbreakdownchart.cpp:102:6: internal compiler error: Segmentation fault
        102 | void DonutBreakdownChart::updateLegendMarkers()
            |      ^~~~~~~~~~~~~~~~~~~
      
      C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 12 Aug 2024, 04:16 last edited by
      #2

      @gfxx said in debian faye gcc9 qtcreator9 const auto error:

      internal compiler error: Segmentation fault

      Upgrade your compiler as it is buggy and crashing on valid c++ code.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • G gfxx
        11 Aug 2024, 21:45

        on faye creator 9 gcc9 try to compile an example ...but obtain these error .... the same o r similar when try to compile other app with "const auto" macro .... sometime can suggest why and where can be my error ?

        /home/home/Qt/Examples/Qt-5.15.2/charts/donutbreakdown/donutbreakdownchart.cpp:-1: In member function 'void DonutBreakdownChart::updateLegendMarkers()':
        ../donutbreakdown/donutbreakdownchart.cpp: In member function 'void DonutBreakdownChart::updateLegendMarkers()':
        ../donutbreakdown/donutbreakdownchart.cpp:102:6: internal compiler error: Segmentation fault
          102 | void DonutBreakdownChart::updateLegendMarkers()
              |      ^~~~~~~~~~~~~~~~~~~
        
        C Offline
        C Offline
        ChrisW67
        wrote on 12 Aug 2024, 04:22 last edited by
        #3

        @gfxx Your compiler is crashing. Start by reinstalling the GCC tools.

        1 Reply Last reply
        0
        • G Offline
          G Offline
          gfxx
          wrote on 12 Aug 2024, 13:24 last edited by
          #4

          thanks to all ..... on Kits selector on tabs "Compilers" "autodetect" I have a lot of Clang (from 16 to 9) GCC (from 16 to 9) ... in "manual" "C" GCC 9, clang-9, in "C++" the same ..... correct path is /usr/bin/clang-9?

          bkt

          1 Reply Last reply
          0
          • G Offline
            G Offline
            gfxx
            wrote on 12 Aug 2024, 13:24 last edited by
            #5

            need to leave out all other GCC version?

            bkt

            1 Reply Last reply
            0

            2/5

            12 Aug 2024, 04:16

            • Login

            • Login or register to search.
            2 out of 5
            • First post
              2/5
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved