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 18:21:32 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Hi all,

the *-Wclass-memaccess*warning should now be gone (*SVN 1280*).

Jürgen


On 5/3/20 5:36 PM, Blake McBride wrote:
> Builds now.  Thanks!
>
> On Sun, May 3, 2020 at 10:29 AM Dr. Jürgen Sauermann
> <mail@jürgen-sauermann.de <mailto:mail@j%C3%BCrgen-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]