bugGNU Octave - Bugs: bug #58867, qt related build failure.

 
 

bug #58867: qt related build failure.

Submitter:  A.R. Burgers <arb>
Submitted:  Sun 02 Aug 2020 07:38:07 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 03 Aug 2020 02:36:54 PM UTC, comment #3: 

yes, this does fix the issue, and the build runs to completion again.

A.R. Burgers <arb>
Mon 03 Aug 2020 02:21:45 PM UTC, comment #2: 

Thanks for the report.  I pushed the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/966193fa1037

Could you confirm that this fixes the issue for you?

John W. Eaton <jwe>
Group administrator
Mon 03 Aug 2020 07:21:45 AM UTC, comment #1: 

the issue was introduced with this changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/562902dc1bb6

A.R. Burgers <arb>
Sun 02 Aug 2020 07:38:07 AM UTC, original submission:  

Recently, I think since the "avoid deprecated Qt ..." set of commits I get this build failure:

This is with gcc 9.3.0, Qt 5.4, hg id b9bf7a6bb8de


../octave/libgui/qterminal/libqterminal/unix/TerminalView.cpp: In member function 'virtual void TerminalView::paintEvent(QPaintEvent*)':
../octave/libgui/qterminal/libqterminal/unix/TerminalView.cpp:966:51: error: 'begin' was not declared in this scope; did you mean 'std::begin'?
  966 |   for (QRect rect : (pe->region() & contentsRect()))
      |                                                   ^
      |                                                   std::begin
In file included from /opt/apps/shared/burgersar/x86_64/include/c++/9.3.0/list:62,
                 from ../octave/libgui/src/qt-utils.h:29,
                 from ../octave/libgui/qterminal/libqterminal/unix/TerminalView.cpp:30:
/opt/apps/shared/burgersar/x86_64/include/c++/9.3.0/bits/range_access.h:105:37: note: 'std::begin' declared here
  105 |   template<typename _Tp> const _Tp* begin(const valarray<_Tp>&);
      |                                     ^~~~~
../octave/libgui/qterminal/libqterminal/unix/TerminalView.cpp:966:51: error: 'end' was not declared in this scope; did you mean 'std::end'?
  966 |   for (QRect rect : (pe->region() & contentsRect()))
      |                                                   ^
      |                                                   std::end
In file included from /opt/apps/shared/burgersar/x86_64/include/c++/9.3.0/list:62,
                 from ../octave/libgui/src/qt-utils.h:29,
                 from ../octave/libgui/qterminal/libqterminal/unix/TerminalView.cpp:30:
/opt/apps/shared/burgersar/x86_64/include/c++/9.3.0/bits/range_access.h:107:37: note: 'std::end' declared here
  107 |   template<typename _Tp> const _Tp* end(const valarray<_Tp>&);
      |


A.R. Burgers <arb>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by arb (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-08-03 jwe StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2020-08-03 jwe StatusNone Ready For Test

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code