bugGNU Octave - Bugs: bug #41114, jit-typeinfo.cc fails to compile...

 
 

bug #41114: jit-typeinfo.cc fails to compile with Homebrew LLVM 3.3 on Mac (patch provided)

Submitter:  None
Submitted:  Sun 05 Jan 2014 11:50:34 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Michael Grant Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.8.0
Operating System:  * Mac OS Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 06 Jan 2014 02:35:02 PM UTC, comment #1: 

Thanks for the patch.  I modified the commit message and applied your changeset here:

  http://hg.savannah.gnu.org/hgweb/octave/rev/4d90e104bf35

John W. Eaton <jwe>
Group administrator
Sun 05 Jan 2014 11:50:34 PM UTC, original submission:  

It would seem that clang on the Mac doesn't like the fact that the comparison functor declared in jit-typeinfo.{h,cc} has a non-const operator(). Studying the code I saw no side effects in operator(), so I see no reason the function it can't be declared that way; and indeed, making the change allows compilation to complete. I've attached a patch.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #30198:  jitfix.diff added by None (1KiB - 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 jwe (Posted a comment)
  • -email is unavailable- added by None (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
    2014-01-06 jwe StatusNone Fixed
        Open/ClosedOpen Closed
    2014-01-05 None Attached File- Added jitfix.diff, #30198

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code