octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #43345] lssa fails to build using clang-3.4 an


From: Alexander Hansen
Subject: [Octave-bug-tracker] [bug #43345] lssa fails to build using clang-3.4 and later
Date: Thu, 02 Oct 2014 03:14:34 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.1.17 (KHTML, like Gecko) Version/7.1 Safari/537.85.10

URL:
  <http://savannah.gnu.org/bugs/?43345>

                 Summary: lssa fails to build using clang-3.4 and later
                 Project: GNU Octave
            Submitted by: alexkhansen
            Submitted on: Thu 02 Oct 2014 03:14:33 AM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: Mac OS

    _______________________________________________________

Details:

(number based on the LLVM numbering rather than Apple's)

It worked for me for prior compiler versions, but now I get the following:

...
mkdir (/var/tmp/oct-WjkD9c)
untar (./lssa.tar, /var/tmp/oct-WjkD9c)
fastlscomplex.cc:65:9: warning: add explicit braces to avoid dangling else
[-Wdangling-else]
        else
        ^
fastlscomplex.cc:377:68: error: expression is not assignable
                            record_current->power_series[p].real() -= h_i;
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastlscomplex.cc:378:68: error: expression is not assignable
                            record_current->power_series[p].imag() += h_r;
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastlscomplex.cc:391:68: error: expression is not assignable
                            record_current->power_series[p].real() -= h_i;
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastlscomplex.cc:392:68: error: expression is not assignable
                            record_current->power_series[p].imag() += h_r;
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastlscomplex.cc:427:74: error: expression is not assignable
                                  record_current->power_series[p].real() -=
h_i;
                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastlscomplex.cc:428:74: error: expression is not assignable
                                  record_current->power_series[p].imag() +=
h_r;
                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastlscomplex.cc:441:74: error: expression is not assignable
                                  record_current->power_series[p].real() -=
h_i;
                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastlscomplex.cc:442:74: error: expression is not assignable
                                  record_current->power_series[p].imag() +=
h_r;
                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastlscomplex.cc:472:71: error: expression is not assignable
                                  record_next->power_series[q].real() -= h_i;
                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastlscomplex.cc:473:71: error: expression is not assignable
                                  record_next->power_series[q].imag() += h_r;
                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastlscomplex.cc:486:71: error: expression is not assignable
                                  record_next->power_series[q].real() -= h_i;
                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastlscomplex.cc:487:71: error: expression is not assignable
                                  record_next->power_series[q].imag() += h_r;
                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
1 warning and 12 errors generated.
make: *** [fastlscomplex.oct] Error 1
'make' returned the following error: /sw/bin/mkoctfile-3.6.4 fastlscomplex.cc
...

$ cc --version
Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix

I first noticed the error for clang from LLVM3.4svn.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43345>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]