[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41114] jit-typeinfo.cc fails to compile with
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #41114] jit-typeinfo.cc fails to compile with Homebrew LLVM 3.3 on Mac (patch provided) |
Date: |
Sun, 05 Jan 2014 23:50:35 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?41114>
Summary: jit-typeinfo.cc fails to compile with Homebrew LLVM
3.3 on Mac (patch provided)
Project: GNU Octave
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: None
Assigned to: None
Originator Name: Michael Grant
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.8.0
Operating System: Mac OS
_______________________________________________________
Details:
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.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 05 Jan 2014 11:50:34 PM UTC Name: jitfix.diff Size: 1kB By: None
<http://savannah.gnu.org/bugs/download.php?file_id=30198>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41114>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41114] jit-typeinfo.cc fails to compile with Homebrew LLVM 3.3 on Mac (patch provided),
anonymous <=