Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation note in SNRZFindPulse #1

Open
dfloer opened this issue Feb 10, 2020 · 0 comments
Open

Compilation note in SNRZFindPulse #1

dfloer opened this issue Feb 10, 2020 · 0 comments
Labels
build Issues relating the the build of the project.

Comments

@dfloer
Copy link
Contributor

dfloer commented Feb 10, 2020

The was a small ABI change in GCC 7.1.

Compiling on GCC 8.3.0 (and later, probably) gives the two notes.

/usr/include/c++/8.3.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {FixedPulseDetector<float>}; _Tp = FixedPulseDetector<float>; _Alloc = std::allocator<FixedPulseDetector<float> >]':
/usr/include/c++/8.3.0/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector<FixedPulseDetector<float> >::iterator' {aka '__gnu_cxx::__normal_iterator<FixedPulseDetector<float>*, std::vector<FixedPulseDetector<float> > >'} changed in GCC 7.1
       vector<_Tp, _Alloc>::
       ^~~~~~~~~~~~~~~~~~~

and

/usr/include/c++/8.3.0/bits/vector.tcc: In constructor 'SpectralPulseFinder::SpectralPulseFinder(int, int, int, int, int, int, int, double, double, double)':
/usr/include/c++/8.3.0/bits/vector.tcc:109:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<FixedPulseDetector<float>*, std::vector<FixedPulseDetector<float> > >' changed in GCC 7.1
    _M_realloc_insert(end(), std::forward<_Args>(__args)...);
    ^~~~~~~~~~~~~~~~~

Currently, as everything should be compiled with GCC 7.1 or later, we can safely ignore this note by passing g++ -Wno-psabi.

@dfloer dfloer added the build Issues relating the the build of the project. label Feb 10, 2020
dfloer added a commit that referenced this issue Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues relating the the build of the project.
Projects
None yet
Development

No branches or pull requests

1 participant