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

 
 

bug #35115: GUI KPty::open build failure

Submitter:  marco atzeri <matzeri>
Submitted:  Mon 19 Dec 2011 02:45:20 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Invalid / Not an Octave Bug Assigned to:  jacobdawid
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
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 Files:
   
   
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
  • -email is unavailable- added by matzeri (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-05-22 jacobdawid StatusNone Invalid / Not an Octave Bug
        Assigned toNone jacobdawid
        Open/ClosedOpen Closed
    2012-01-05 matzeri Attached File- Added KPty.cpp.patch, #24744
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code