bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Many compiler "note:" messages


From: Peter Teeson
Subject: Re: [Bug-apl] Many compiler "note:" messages
Date: Sun, 29 Sep 2019 13:19:10 -0400

Thanks Jûrgen that has suppressed the notes.

On Sep 25, 2019, at 6:55 AM, Dr. Jürgen Sauermann <mail@xn--jrgen-sauermann-zvb.de> wrote:

Hi Peter,

thanks for reporting this.

As far as I can see the warning is bogus in the case of GNU APL (see:

https://stackoverflow.com/questions/48149323/what-does-the-the-gcc-warning-project-parameter-passing-for-x-changed-in-gcc-7)

You can suppress it via configure like this:

CXXFLAGS="-Wno-psabi" ./configure

although I would leave it as is.

Best Regards,
Jürgen



On 9/24/19 7:28 PM, Peter Teeson via Bug-apl wrote:
H Jûrgen:

I’ve compiled apl on my RPi3B+ under both Raspbian Stretch and Buster.
I saved the compete command line stdout/stderr to file.

You should be able to browse it at the public gist I made:

There are 90 compiler notes each time of the form:

"/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type …………”

For example: 
3 times 
/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<Coupled_var>::iterator’
3 times
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<Coupled_var*, std::vector<Coupled_var> >’ changed in GCC 7.1
    _M_realloc_insert(end(), __x);
    ^~~~~~~~~~~~~~~~~
3 times
/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<Backtrace::PC_src>::iterator’ {aka ‘__gnu_cxx::__normal_iterator<Backtrace::PC_src*, std::vector<Backtrace::PC_src> >’} changed in GCC 7.1
       vector<_Tp, _Alloc>::
       ^~~~~~~~~~~~~~~~~~~
3 times
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<Backtrace::PC_src*, std::vector<Backtrace::PC_src> >’ changed in GCC 7.1
    _M_realloc_insert(end(), __x);
    ^~~~~~~~~~~~~~~~~

Etc…..

Respect…

Peter




reply via email to

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