[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: failure compiling octave-3.6.4 with LLVM-3.2
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: failure compiling octave-3.6.4 with LLVM-3.2 |
Date: |
Mon, 6 May 2013 11:33:45 -0400 |
On 3 May 2013 18:44, Sergei Steshenko <address@hidden> wrote:
> trying to compile octave-3.6.4 with LLVM-3.2 I've encountered the
> following error:
>
> "
> 3797 Range.cc:440:29: error: no member named 'floor' in namespace 'gnulib'
> 3798 double t1 = 1.0 + gnulib::floor (x);
> 3799 ~~~~~~~~^
> 3800 Range.cc:444:16: error: no member named 'floor' in namespace 'gnulib'
> 3801 t1 = gnulib::floor (x + t1);
> 3802 ~~~~~~~~^
> 3803 2 errors generated.
> 3804 Makefile:3418: *** [liboctave_la-Range.lo] Error 1
> ".
>
> If instead of LLVM-3.2 I use gcc-4.5.4, everything compiles OK.
It looks like it might be a gnulib bug. I'm cc'ing them.
> Does the above error mean bug in LLVM, gcc or Octave itself ?
> AFAIK LLVM is/used to be stricter than gcc WRT C++ standard
> compliance.
Neither is really more strict than the other; one of them implements
more than the other. It used to be that g++ was marginally ahead of
clang++, but nowadays in recent versions they have both caught up.
- Jordi G. H.