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: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: Michael GrantOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 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 File(s):
   
   
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
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by None (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 06 Jan 2014 02:35:02 PM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sun 05 Jan 2014 11:50:34 PM UTCNoneAttached File-=>Added jitfix.diff, #30198

    Back to the top


    Powered by Savane 3.1-cleanup1