sensorgnome-org / vamp-plugins Goto Github PK
View Code? Open in Web Editor NEWVAMP plugins for detecting pulses from VHF telemetry tags.
VAMP plugins for detecting pulses from VHF telemetry tags.
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
.
When compiling, we get a warning of:
FreqEstimator.cpp: In constructor ‘FreqEstimator::FreqEstimator(int)’:
FreqEstimator.cpp:44:66: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct std::complex<float>’; use assignment or value-initialization instead [-Wclass-memaccess]
44 | memset(m_input, 0, sizeof(std::complex < float > ) * m_frames);
| ^
In file included from FreqEstimator.h:19,
from FreqEstimator.cpp:19:
/usr/include/c++/9.2.0/complex:1076:12: note: ‘struct std::complex<float>’ declared here
1076 | struct complex<float>
| ^~~~~~~~~~~~~~
This could lead to unexpected behaviour, and causes compilation issues. The warning can be suppressed with -Wno-class-memaccess
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.