[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] SVN 839 doesn't compile
From: |
David B. Lamkins |
Subject: |
Re: [Bug-apl] SVN 839 doesn't compile |
Date: |
Tue, 10 Jan 2017 21:47:20 -0800 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
There's one remaining when compiling 843 under clang. The attached patch fixes
that as well as the remaining error reported by gcc.
On Tue, Jan 10, 2017 at 03:54:36PM -0800, David Lamkins wrote:
> Worth noting: There are now no warnings or notes when compiling under gcc
> 6.3.1.
>
> On Tue, Jan 10, 2017 at 3:45 PM, David Lamkins <address@hidden> wrote:
> > Thank you, Juergen.
> >
> > SVN 843 compiles under gcc 6.3.1.
> >
> > This is the sole remaining error when compiling with clang 3.8.0:
> >
> > clang++ -DHAVE_CONFIG_H -I. -I.. -Werror -Wall -Wno-strict-aliasing
> > -Wno-deprecated-declarations -I/usr/include -I sql -I/usr/include -I
> > sql -g -O2 -MT apl-UserFunction_header.o -MD -MP -MF
> > .deps/apl-UserFunction_header.Tpo -c
> > -o apl-UserFunction_header.o `test -f 'UserFunction_header.cc' ||
> > echo './'`UserFunction_header.cc
> > Tokenizer.cc:604:42: error: explicitly assigning value of variable of
> > type 'APL_Float' (aka 'double') to itself [-Werror,-Wself-assign]
> > if (!imag_need_float) imag_flt = imag_flt;
> > ~~~~~~~~ ^ ~~~~~~~~
> > Tokenizer.cc:637:45: error: explicitly assigning value of variable of
> > type 'APL_Float' (aka 'double') to itself [-Werror,-Wself-assign]
> > if (!imag_need_float) degrees_flt = degrees_flt;
> > ~~~~~~~~~~~ ^ ~~~~~~~~~~~
> > 2 errors generated.
> >
> >
> > On Tue, Jan 10, 2017 at 11:54 AM, Juergen Sauermann
> > <address@hidden> wrote:
> >> Hi,
> >>
> >> I believe that I fixed most warnings, *SVN 842*.
> >>
> >> Since there were many warnings and from different sources, I might have
> >> overlooked
> >> some of them (or introduced new ones). Please keep reporting them.
> >>
> >> /// Jürgen
> >>
> >
> >
> >
> > --
> > "I think as musicians, we have more vision than we credit ourselves
> > for. We should dive into it without reserve, and take the sort of
> > risks it takes to be divisive and impactful. Things have yet to be
> > done."
> > Aaron Fowler Clark
> >
> > "Do not seek to follow in the footsteps of the masters. Seek what they
> > sought."
> > Matsuo Basho
> >
> > "Knowledge speaks; wisdom listens."
> > Jimi Hendrix
> >
> > http://soundcloud.com/davidlamkins
> > http://reverbnation.com/lamkins
> > http://reverbnation.com/lcw
> > http://lamkins-guitar.com/
> > http://lamkins.net/
> > http://successful-lisp.com/
>
>
>
> --
> "I think as musicians, we have more vision than we credit ourselves
> for. We should dive into it without reserve, and take the sort of
> risks it takes to be divisive and impactful. Things have yet to be
> done."
> Aaron Fowler Clark
>
> "Do not seek to follow in the footsteps of the masters. Seek what they
> sought."
> Matsuo Basho
>
> "Knowledge speaks; wisdom listens."
> Jimi Hendrix
>
> http://soundcloud.com/davidlamkins
> http://reverbnation.com/lamkins
> http://reverbnation.com/lcw
> http://lamkins-guitar.com/
> http://lamkins.net/
> http://successful-lisp.com/
dbl-apl-843.patch
Description: Text document
- Re: [Bug-apl] SVN 839 doesn't compile, (continued)
- Re: [Bug-apl] SVN 839 doesn't compile, David Lamkins, 2017/01/09
- Re: [Bug-apl] SVN 839 doesn't compile, Juergen Sauermann, 2017/01/09
- Re: [Bug-apl] SVN 839 doesn't compile, David Lamkins, 2017/01/09
- Re: [Bug-apl] SVN 839 doesn't compile, enztec, 2017/01/09
- Re: [Bug-apl] SVN 839 doesn't compile, Juergen Sauermann, 2017/01/10
- Re: [Bug-apl] SVN 839 doesn't compile, Christian Robert, 2017/01/10
- Re: [Bug-apl] SVN 839 doesn't compile, Juergen Sauermann, 2017/01/10
- Re: [Bug-apl] SVN 839 doesn't compile, Christian Robert, 2017/01/10
- Re: [Bug-apl] SVN 839 doesn't compile, David Lamkins, 2017/01/10
- Re: [Bug-apl] SVN 839 doesn't compile, David Lamkins, 2017/01/10
- Re: [Bug-apl] SVN 839 doesn't compile,
David B. Lamkins <=
- Re: [Bug-apl] SVN 839 doesn't compile, Juergen Sauermann, 2017/01/11
- Re: [Bug-apl] SVN 839 doesn't compile, Christian Robert, 2017/01/11
- Re: [Bug-apl] SVN 839 doesn't compile, Juergen Sauermann, 2017/01/11
- Re: [Bug-apl] SVN 839 doesn't compile, Christian Robert, 2017/01/11
- Re: [Bug-apl] SVN 839 doesn't compile, Kacper Gutowski, 2017/01/11
- Re: [Bug-apl] SVN 839 doesn't compile, Christian Robert, 2017/01/11
- Re: [Bug-apl] SVN 839 doesn't compile, Juergen Sauermann, 2017/01/12
- Re: [Bug-apl] SVN 839 doesn't compile, Elias Mårtenson, 2017/01/12
- Re: [Bug-apl] SVN 839 doesn't compile, Blake McBride, 2017/01/12
- Re: [Bug-apl] SVN 839 doesn't compile, Juergen Sauermann, 2017/01/12