bug-apl
[Top][All Lists]
Advanced

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

Re: New build errors


From: Blake McBride
Subject: Re: New build errors
Date: Sun, 3 May 2020 10:36:59 -0500

Builds now.  Thanks!

On Sun, May 3, 2020 at 10:29 AM Dr. Jürgen Sauermann <mail@jürgen-sauermann.de> wrote:
Hi Blake,

thanks, fixed in
SVN 1279.
The
-Wno-class-memaccess seems to be somewhat new and is only
understood if the compiler also knows 
-Wclass-memaccess.

I am currently testing wit g++ 11 and will try to get rid of 
-Wclass-memaccess

Jürgen


On 5/3/20 4:50 PM, Blake McBride wrote:
Greetings,

I am doing:

CXXFLAGS="-Wno-maybe-uninitialized -Wno-class-memaccess" ./configure
make

and getting:

[...]
Quad_RVAL.cc: In member function ‘Value_P Quad_RVAL::result_maxdepth(const Value&)’:
Quad_RVAL.cc:371:22: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
    if (!B.get_rank() > 1)            RANK_ERROR;
                      ^
Quad_RVAL.cc:371:8: note: add parentheses around left hand side _expression_ to silence this warning
    if (!B.get_rank() > 1)            RANK_ERROR;
        ^~~~~~~~~~~~~
        (            )
Quad_RVAL.cc:371:22: error: comparison of constant ‘1’ with boolean _expression_ is always false [-Werror=bool-compare]
    if (!B.get_rank() > 1)            RANK_ERROR;
        ~~~~~~~~~~~~~~^~~
At global scope:
cc1plus: error: unrecognized command line option ‘-Wno-class-memaccess’ [-Werror]





reply via email to

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