bugGNU Octave - Bugs: bug #35115, GUI KPty::open build failure

 
 

bug #35115: GUI KPty::open build failure

Submitted by:  marco atzeri <matzeri>
Submitted on:  Mon 19 Dec 2011 02:45:20 PM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: InvalidAssigned to: Jacob Dawid <jacobdawid>
Originator Name: Open/Closed: Closed
Release: devOperating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 22 May 2012 09:46:47 PM UTC, comment #2:

This bug report is related to source code that has already been removed.

Jacob Dawid <jacobdawid>
Project MemberIn charge of this item.
Thu 05 Jan 2012 03:41:16 PM UTC, comment #1:

there is a missing :: that confuses the scope
of open call.

- ::close (open (d->ttyName, O_WRONLY, 0));
+ ::close (::open (d->ttyName, O_WRONLY, 0));

patch attached.
With that and few cygwin tweaks I was able to build and
run the gui

Unfortunately, not fully functional :-(

(file #24744)

marco atzeri <matzeri>
Mon 19 Dec 2011 02:45:20 PM UTC, original submission:

on cygwin with
gcc (GCC) 4.5.3
QMake version 2.01a
Using Qt version 4.7.4 in /usr/lib/qt4/lib

build fails at

../gui/src/terminal/KPty.cpp: In member function ‘void KPty::setCTty()’:
../gui/src/terminal/KPty.cpp:420:41: error: no matching function for call to ‘KPty::open(QByteArray&, int, int)’
../gui/src/terminal/KPty.cpp:93:1: note: candidates are: bool KPty::open()
../gui/src/terminal/KPty.cpp:286:1: note: bool KPty::open(int)
../gui/src/terminal/KPty.cpp: In member function ‘void KPty::login(const char, const char)’:

marco atzeri <matzeri>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #24744:  KPty.cpp.patch added by matzeri (458B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by matzeri (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 22 May 2012 09:46:47 PM UTCjacobdawidStatusNone=>Invalid
      Assigned toNone=>jacobdawid
      Open/ClosedOpen=>Closed
    Thu 05 Jan 2012 03:41:16 PM UTCmatzeriAttached File-=>Added KPty.cpp.patch, #24744
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1