bug-apl
[Top][All Lists]
Advanced

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

Re: New build errors


From: Dr . Jürgen Sauermann
Subject: Re: New build errors
Date: Sun, 3 May 2020 17:29:47 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

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]