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

Cannot use empty G3TimestreamMap() constructor #101

Closed
arahlin opened this issue Apr 13, 2023 · 1 comment
Closed

Cannot use empty G3TimestreamMap() constructor #101

arahlin opened this issue Apr 13, 2023 · 1 comment
Assignees
Labels

Comments

@arahlin
Copy link
Member

arahlin commented Apr 13, 2023

Building with #95 breaks on the private SouthPoleTelescope/spt3g_software repo:

[ 79%] Building CXX object todfilter/CMakeFiles/todfilter.dir/src/fftutils.cpp.o
/github/actions-runner/_work/spt3g_software/spt3g_software/todfilter/src/fftutils.cpp: In function ‘void fft_filter_mem_friendly(const G3TimestreamMap&, const G3VectorComplexDouble&, G3TimestreamMap&, bool, G3MapDoubleConstPtr)’:
/github/actions-runner/_work/spt3g_software/spt3g_software/todfilter/src/fftutils.cpp:307:30: error: use of deleted function ‘G3TimestreamMap& G3TimestreamMap::operator=(const G3TimestreamMap&)’
   out_data = G3TimestreamMap();
                              ^
In file included from /github/actions-runner/_work/spt3g_software/spt3g_software/todfilter/include/todfilter/numericutils.h:9,
                 from /github/actions-runner/_work/spt3g_software/spt3g_software/todfilter/src/fftutils.cpp:3:
/github/actions-runner/_work/spt3g_software/spt3g_software/core/include/core/G3Timestream.h:176:7: note: ‘G3TimestreamMap& G3TimestreamMap::operator=(const G3TimestreamMap&)’ is implicitly declared as deleted because ‘G3TimestreamMap’ declares a move constructor or move assignment operator
 class G3TimestreamMap : public G3FrameObject,
       ^~~~~~~~~~~~~~~
/github/actions-runner/_work/spt3g_software/spt3g_software/todfilter/src/fftutils.cpp: In function ‘void fft_filter_mem_friendly_w_multi_filters(G3TimestreamMap&, G3VectorDouble&, G3MapVectorComplexDouble&, G3TimestreamMap&)’:
/github/actions-runner/_work/spt3g_software/spt3g_software/todfilter/src/fftutils.cpp:433:43: error: use of deleted function ‘G3TimestreamMap& G3TimestreamMap::operator=(const G3TimestreamMap&)’
         filtered_ts_map = G3TimestreamMap();
                                           ^
At global scope:
cc1plus: error: unrecognized command line option ‘-Wno-self-assign-overloaded’ [-Werror]
cc1plus: error: unrecognized command line option ‘-Wno-constant-conversion’ [-Werror]
cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror]
cc1plus: error: unrecognized command line option ‘-Wno-unknown-warning-option’ [-Werror]
cc1plus: all warnings being treated as errors
gmake[2]: *** [todfilter/CMakeFiles/todfilter.dir/build.make:115: todfilter/CMakeFiles/todfilter.dir/src/fftutils.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [CMakeFiles/Makefile2:10[88](https://github.com/SouthPoleTelescope/spt3g_software/actions/runs/4684229589/jobs/8300157535#step:7:89): todfilter/CMakeFiles/todfilter.dir/all] Error 2
gmake: *** [Makefile:141: all] Error 2
Error: Process completed with exit code 2.
@arahlin
Copy link
Member Author

arahlin commented Apr 13, 2023

Closed with #102

@arahlin arahlin closed this as completed Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants