You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
g++ -O -Wno-deprecated -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__USE_FFTW_LIBRARY__ -I../../fftw-3.2.1/include -c -o processor.o processor.cc
In file included from processor.cc:45:
orbitbk.hh:144:18: error: friend declaration of ‘int32 lp2xyz(real8, real8, const input_ell&, const slcimage&, orbit&, cn&, int32, real8)’ specifies default arguments and isn’t a definition [-fpermissive]
144 | friend int32 lp2xyz(
| ^~~~~~
orbitbk.hh:155:18: error: friend declaration of ‘int32 xyz2orb(cn&, const slcimage&, orbit&, const cn&, int32, real8)’ specifies default arguments and isn’t a definition [-fpermissive]
155 | friend int32 xyz2orb(
| ^~~~~~~
orbitbk.hh:164:18: error: friend declaration of ‘int32 xyz2t(real8&, real8&, const slcimage&, orbit&, const cn&, int32, real8)’ specifies default arguments and isn’t a definition [-fpermissive]
164 | friend int32 xyz2t(
| ^~~~~
orbitbk.hh:174:18: error: friend declaration of ‘int32 xyz2lp(real8&, real8&, const slcimage&, orbit&, const cn&, int32, real8)’ specifies default arguments and isn’t a definition [-fpermissive]
174 | friend int32 xyz2lp(
| ^~~~~~
orbitbk.hh:184:18: error: friend declaration of ‘int32 ell2lp(real8&, real8&, const input_ell&, const slcimage&, orbit&, real8, real8, real8, int32, real8)’ specifies default arguments and isn’t a definition [-fpermissive]
184 | friend int32 ell2lp(
| ^~~~~~
orbitbk.hh:197:18: error: friend declaration of ‘int32 lp2ell(real8, real8, const input_ell&, const slcimage&, orbit&, real8&, real8&, real8&, int32, real8)’ specifies default arguments and isn’t a definition [-fpermissive]
197 | friend int32 lp2ell(
| ^~~~~~
processor.cc: In function ‘int main(int, char**)’:
processor.cc:363:15: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
363 | system(cmd);// this does the work
| ~~~~~~^~~~~
processor.cc:1204:15: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
1204 | system(cmd);// This does the actual work
| ~~~~~~^~~~~
processor.cc:2208:41: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
2208 | if (input_i_fine.plotoffsets) system(cmd);
| ~~~~~~^~~~~
processor.cc:2399:37: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
2399 | if (input_i_coregpm.plot) system(cmd);
| ~~~~~~^~~~~
processor.cc: In function ‘void handleinput(int, char**, input_gen&)’:
processor.cc:3641:17: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
3641 | system("helpdoris");
| ~~~~~~^~~~~~~~~~~~~
processor.cc:3650:17: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
3650 | system(cmd);
| ~~~~~~^~~~~
processor.cc: In function ‘void preview(int32, int32, int32, const char*, const string&, const string&)’:
processor.cc:4170:11: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
4170 | system(DEBUG.get_str());
| ~~~~~~^~~~~~~~~~~~~~~~~
processor.cc:4175:11: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
4175 | system(INFO.get_str());
| ~~~~~~^~~~~~~~~~~~~~~~
make: *** [Makefile:158: processor.o] Error 1
system information
uname -a
Linux panicker 5.4.0-51-generic #56-Ubuntu SMP Mon Oct 5 14:28:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
g++ --version
g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The text was updated successfully, but these errors were encountered:
when l run make following error appers,
g++ -O -Wno-deprecated -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__USE_FFTW_LIBRARY__ -I../../fftw-3.2.1/include -c -o processor.o processor.cc
In file included from processor.cc:45:
orbitbk.hh:144:18: error: friend declaration of ‘int32 lp2xyz(real8, real8, const input_ell&, const slcimage&, orbit&, cn&, int32, real8)’ specifies default arguments and isn’t a definition [-fpermissive]
144 | friend int32 lp2xyz(
| ^~~~~~
orbitbk.hh:155:18: error: friend declaration of ‘int32 xyz2orb(cn&, const slcimage&, orbit&, const cn&, int32, real8)’ specifies default arguments and isn’t a definition [-fpermissive]
155 | friend int32 xyz2orb(
| ^~~~~~~
orbitbk.hh:164:18: error: friend declaration of ‘int32 xyz2t(real8&, real8&, const slcimage&, orbit&, const cn&, int32, real8)’ specifies default arguments and isn’t a definition [-fpermissive]
164 | friend int32 xyz2t(
| ^~~~~
orbitbk.hh:174:18: error: friend declaration of ‘int32 xyz2lp(real8&, real8&, const slcimage&, orbit&, const cn&, int32, real8)’ specifies default arguments and isn’t a definition [-fpermissive]
174 | friend int32 xyz2lp(
| ^~~~~~
orbitbk.hh:184:18: error: friend declaration of ‘int32 ell2lp(real8&, real8&, const input_ell&, const slcimage&, orbit&, real8, real8, real8, int32, real8)’ specifies default arguments and isn’t a definition [-fpermissive]
184 | friend int32 ell2lp(
| ^~~~~~
orbitbk.hh:197:18: error: friend declaration of ‘int32 lp2ell(real8, real8, const input_ell&, const slcimage&, orbit&, real8&, real8&, real8&, int32, real8)’ specifies default arguments and isn’t a definition [-fpermissive]
197 | friend int32 lp2ell(
| ^~~~~~
processor.cc: In function ‘int main(int, char**)’:
processor.cc:363:15: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
363 | system(cmd);// this does the work
| ~~~~~~^~~~~
processor.cc:1204:15: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
1204 | system(cmd);// This does the actual work
| ~~~~~~^~~~~
processor.cc:2208:41: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
2208 | if (input_i_fine.plotoffsets) system(cmd);
| ~~~~~~^~~~~
processor.cc:2399:37: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
2399 | if (input_i_coregpm.plot) system(cmd);
| ~~~~~~^~~~~
processor.cc: In function ‘void handleinput(int, char**, input_gen&)’:
processor.cc:3641:17: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
3641 | system("helpdoris");
| ~~~~~~^~~~~~~~~~~~~
processor.cc:3650:17: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
3650 | system(cmd);
| ~~~~~~^~~~~
processor.cc: In function ‘void preview(int32, int32, int32, const char*, const string&, const string&)’:
processor.cc:4170:11: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
4170 | system(DEBUG.get_str());
| ~~~~~~^~~~~~~~~~~~~~~~~
processor.cc:4175:11: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
4175 | system(INFO.get_str());
| ~~~~~~^~~~~~~~~~~~~~~~
make: *** [Makefile:158: processor.o] Error 1
system information
uname -a
Linux panicker 5.4.0-51-generic #56-Ubuntu SMP Mon Oct 5 14:28:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
g++ --version
g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The text was updated successfully, but these errors were encountered: