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)

Submitted by:  None
Submitted on:  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

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

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>
Project 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)
  •  

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

    Only project 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.5