Skip to content

Instantly share code, notes, and snippets.

@sumproxy
Created July 3, 2015 09:40
Show Gist options
  • Save sumproxy/3e34e60395c3b87a124c to your computer and use it in GitHub Desktop.
Save sumproxy/3e34e60395c3b87a124c to your computer and use it in GitHub Desktop.
> bash linux64
rm: *.exe: No such file or directory
rm: miracl.a: No such file or directory
In file included from big.cpp:44:
./big.h:302:16: error: friend declaration specifying a default argument must be a definition
friend int to_binary(const Big&,int,char *,BOOL justify=FALSE);
^
./big.h:324:16: error: friend declaration specifying a default argument must be a definition
friend Big luc(const Big& ,const Big&, const Big&, Big *b4=NULL);
^
./big.h:356:16: error: friend declaration specifying a default argument must be a definition
friend int window(const Big&,int,int*,int*,int window_size=5);
^
./big.h:357:16: error: friend declaration specifying a default argument must be a definition
friend int naf_window(const Big&,const Big&,int,int*,int*,int store=11);
^
./big.h:423:12: error: friend declaration specifying a default argument must be the only declaration
extern int to_binary(const Big&,int,char *,BOOL);
^
./big.h:302:16: note: previous declaration is here
friend int to_binary(const Big&,int,char *,BOOL justify=FALSE);
^
big.cpp:117:5: error: friend declaration specifying a default argument must be the only declaration
int to_binary(const Big& b,int max,char *ptr,BOOL justify)
^
./big.h:302:16: note: previous declaration is here
friend int to_binary(const Big&,int,char *,BOOL justify=FALSE);
^
big.cpp:118:29: error: 'fn' is a private member of 'Big'
{ return big_to_bytes(max,b.fn,ptr,justify);}
^
./big.h:156:9: note: implicitly declared private here
big fn;
^
big.cpp:177:5: error: friend declaration specifying a default argument must be the only declaration
Big luc(const Big& b1,const Big& b2,const Big& b3,Big *b4)
^
./big.h:324:16: note: previous declaration is here
friend Big luc(const Big& ,const Big&, const Big&, Big *b4=NULL);
^
big.cpp:178:32: error: 'fn' is a private member of 'Big'
{Big z; if (b4!=NULL) lucas(b1.fn,b2.fn,b3.fn,b4->fn,z.fn);
^
./big.h:156:9: note: implicitly declared private here
big fn;
^
big.cpp:178:38: error: 'fn' is a private member of 'Big'
{Big z; if (b4!=NULL) lucas(b1.fn,b2.fn,b3.fn,b4->fn,z.fn);
^
./big.h:156:9: note: implicitly declared private here
big fn;
^
big.cpp:178:44: error: 'fn' is a private member of 'Big'
{Big z; if (b4!=NULL) lucas(b1.fn,b2.fn,b3.fn,b4->fn,z.fn);
^
./big.h:156:9: note: implicitly declared private here
big fn;
^
big.cpp:178:51: error: 'fn' is a private member of 'Big'
{Big z; if (b4!=NULL) lucas(b1.fn,b2.fn,b3.fn,b4->fn,z.fn);
^
./big.h:156:9: note: implicitly declared private here
big fn;
^
big.cpp:178:56: error: 'fn' is a private member of 'Big'
{Big z; if (b4!=NULL) lucas(b1.fn,b2.fn,b3.fn,b4->fn,z.fn);
^
./big.h:156:9: note: implicitly declared private here
big fn;
^
big.cpp:179:32: error: 'fn' is a private member of 'Big'
else lucas(b1.fn,b2.fn,b3.fn,z.fn,z.fn);
^
./big.h:156:9: note: implicitly declared private here
big fn;
^
big.cpp:179:38: error: 'fn' is a private member of 'Big'
else lucas(b1.fn,b2.fn,b3.fn,z.fn,z.fn);
^
./big.h:156:9: note: implicitly declared private here
big fn;
^
big.cpp:179:44: error: 'fn' is a private member of 'Big'
else lucas(b1.fn,b2.fn,b3.fn,z.fn,z.fn);
^
./big.h:156:9: note: implicitly declared private here
big fn;
^
big.cpp:179:49: error: 'fn' is a private member of 'Big'
else lucas(b1.fn,b2.fn,b3.fn,z.fn,z.fn);
^
./big.h:156:9: note: implicitly declared private here
big fn;
^
big.cpp:179:54: error: 'fn' is a private member of 'Big'
else lucas(b1.fn,b2.fn,b3.fn,z.fn,z.fn);
^
./big.h:156:9: note: implicitly declared private here
big fn;
^
big.cpp:331:5: error: friend declaration specifying a default argument must be the only declaration
int window(const Big& x,int i,int *nbs,int *nzs,int window_size)
^
./big.h:356:16: note: previous declaration is here
friend int window(const Big&,int,int*,int*,int window_size=5);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
In file included from zzn.cpp:47:
In file included from ./zzn.h:53:
./big.h:302:16: error: friend declaration specifying a default argument must be a definition
friend int to_binary(const Big&,int,char *,BOOL justify=FALSE);
^
./big.h:324:16: error: friend declaration specifying a default argument must be a definition
friend Big luc(const Big& ,const Big&, const Big&, Big *b4=NULL);
^
./big.h:356:16: error: friend declaration specifying a default argument must be a definition
friend int window(const Big&,int,int*,int*,int window_size=5);
^
./big.h:357:16: error: friend declaration specifying a default argument must be a definition
friend int naf_window(const Big&,const Big&,int,int*,int*,int store=11);
^
./big.h:423:12: error: friend declaration specifying a default argument must be the only declaration
extern int to_binary(const Big&,int,char *,BOOL);
^
./big.h:302:16: note: previous declaration is here
friend int to_binary(const Big&,int,char *,BOOL justify=FALSE);
^
In file included from zzn.cpp:47:
./zzn.h:186:17: error: friend declaration specifying a default argument must be a definition
friend ZZn luc( const ZZn&, const Big&, ZZn* b3=NULL);
^
zzn.cpp:173:5: error: friend declaration specifying a default argument must be the only declaration
ZZn luc( const ZZn& b1, const Big& b2, ZZn *b3)
^
./zzn.h:186:17: note: previous declaration is here
friend ZZn luc( const ZZn&, const Big&, ZZn* b3=NULL);
^
zzn.cpp:174:37: error: 'fn' is a private member of 'ZZn'
{ZZn z; if (b3!=NULL) nres_lucas(b1.fn,b2.getbig(),b3->fn,z.fn);
^
./zzn.h:89:9: note: implicitly declared private here
big fn;
^
zzn.cpp:174:56: error: 'fn' is a private member of 'ZZn'
{ZZn z; if (b3!=NULL) nres_lucas(b1.fn,b2.getbig(),b3->fn,z.fn);
^
./zzn.h:89:9: note: implicitly declared private here
big fn;
^
zzn.cpp:174:61: error: 'fn' is a private member of 'ZZn'
{ZZn z; if (b3!=NULL) nres_lucas(b1.fn,b2.getbig(),b3->fn,z.fn);
^
./zzn.h:89:9: note: implicitly declared private here
big fn;
^
zzn.cpp:175:37: error: 'fn' is a private member of 'ZZn'
else nres_lucas(b1.fn,b2.getbig(),z.fn,z.fn);
^
./zzn.h:89:9: note: implicitly declared private here
big fn;
^
zzn.cpp:175:54: error: 'fn' is a private member of 'ZZn'
else nres_lucas(b1.fn,b2.getbig(),z.fn,z.fn);
^
./zzn.h:89:9: note: implicitly declared private here
big fn;
^
zzn.cpp:175:59: error: 'fn' is a private member of 'ZZn'
else nres_lucas(b1.fn,b2.getbig(),z.fn,z.fn);
^
./zzn.h:89:9: note: implicitly declared private here
big fn;
^
13 errors generated.
In file included from ecn.cpp:46:
In file included from ./ecn.h:56:
./big.h:302:16: error: friend declaration specifying a default argument must be a definition
friend int to_binary(const Big&,int,char *,BOOL justify=FALSE);
^
./big.h:324:16: error: friend declaration specifying a default argument must be a definition
friend Big luc(const Big& ,const Big&, const Big&, Big *b4=NULL);
^
./big.h:356:16: error: friend declaration specifying a default argument must be a definition
friend int window(const Big&,int,int*,int*,int window_size=5);
^
./big.h:357:16: error: friend declaration specifying a default argument must be a definition
friend int naf_window(const Big&,const Big&,int,int*,int*,int store=11);
^
./big.h:423:12: error: friend declaration specifying a default argument must be the only declaration
extern int to_binary(const Big&,int,char *,BOOL);
^
./big.h:302:16: note: previous declaration is here
friend int to_binary(const Big&,int,char *,BOOL justify=FALSE);
^
5 errors generated.
In file included from ec2.cpp:45:
In file included from ./ec2.h:54:
./big.h:302:16: error: friend declaration specifying a default argument must be a definition
friend int to_binary(const Big&,int,char *,BOOL justify=FALSE);
^
./big.h:324:16: error: friend declaration specifying a default argument must be a definition
friend Big luc(const Big& ,const Big&, const Big&, Big *b4=NULL);
^
./big.h:356:16: error: friend declaration specifying a default argument must be a definition
friend int window(const Big&,int,int*,int*,int window_size=5);
^
./big.h:357:16: error: friend declaration specifying a default argument must be a definition
friend int naf_window(const Big&,const Big&,int,int*,int*,int store=11);
^
./big.h:423:12: error: friend declaration specifying a default argument must be the only declaration
extern int to_binary(const Big&,int,char *,BOOL);
^
./big.h:302:16: note: previous declaration is here
friend int to_binary(const Big&,int,char *,BOOL justify=FALSE);
^
5 errors generated.
In file included from crt.cpp:5:
In file included from ./crt.h:14:
./big.h:302:16: error: friend declaration specifying a default argument must be a definition
friend int to_binary(const Big&,int,char *,BOOL justify=FALSE);
^
./big.h:324:16: error: friend declaration specifying a default argument must be a definition
friend Big luc(const Big& ,const Big&, const Big&, Big *b4=NULL);
^
./big.h:356:16: error: friend declaration specifying a default argument must be a definition
friend int window(const Big&,int,int*,int*,int window_size=5);
^
./big.h:357:16: error: friend declaration specifying a default argument must be a definition
friend int naf_window(const Big&,const Big&,int,int*,int*,int store=11);
^
./big.h:423:12: error: friend declaration specifying a default argument must be the only declaration
extern int to_binary(const Big&,int,char *,BOOL);
^
./big.h:302:16: note: previous declaration is here
friend int to_binary(const Big&,int,char *,BOOL justify=FALSE);
^
5 errors generated.
clang: error: no such file or directory: 'big.o'
clang: error: no such file or directory: 'big.o'
clang: error: no such file or directory: 'zzn.o'
In file included from flash.cpp:11:
In file included from ./flash.h:14:
./big.h:302:16: error: friend declaration specifying a default argument must be a definition
friend int to_binary(const Big&,int,char *,BOOL justify=FALSE);
^
./big.h:324:16: error: friend declaration specifying a default argument must be a definition
friend Big luc(const Big& ,const Big&, const Big&, Big *b4=NULL);
^
./big.h:356:16: error: friend declaration specifying a default argument must be a definition
friend int window(const Big&,int,int*,int*,int window_size=5);
^
./big.h:357:16: error: friend declaration specifying a default argument must be a definition
friend int naf_window(const Big&,const Big&,int,int*,int*,int store=11);
^
./big.h:423:12: error: friend declaration specifying a default argument must be the only declaration
extern int to_binary(const Big&,int,char *,BOOL);
^
./big.h:302:16: note: previous declaration is here
friend int to_binary(const Big&,int,char *,BOOL justify=FALSE);
^
5 errors generated.
clang: error: no such file or directory: 'flash.o'
clang: error: no such file or directory: 'ecn.o'
clang: error: no such file or directory: 'big.o'
clang: error: no such file or directory: 'ecn.o'
clang: error: no such file or directory: 'big.o'
clang: error: no such file or directory: 'ecn.o'
clang: error: no such file or directory: 'big.o'
clang: error: no such file or directory: 'ecn.o'
clang: error: no such file or directory: 'big.o'
In file included from polymod.cpp:16:
In file included from ./polymod.h:19:
In file included from ./poly.h:21:
In file included from ./zzn.h:53:
./big.h:302:16: error: friend declaration specifying a default argument must be a definition
friend int to_binary(const Big&,int,char *,BOOL justify=FALSE);
^
./big.h:324:16: error: friend declaration specifying a default argument must be a definition
friend Big luc(const Big& ,const Big&, const Big&, Big *b4=NULL);
^
./big.h:356:16: error: friend declaration specifying a default argument must be a definition
friend int window(const Big&,int,int*,int*,int window_size=5);
^
./big.h:357:16: error: friend declaration specifying a default argument must be a definition
friend int naf_window(const Big&,const Big&,int,int*,int*,int store=11);
^
./big.h:423:12: error: friend declaration specifying a default argument must be the only declaration
extern int to_binary(const Big&,int,char *,BOOL);
^
./big.h:302:16: note: previous declaration is here
friend int to_binary(const Big&,int,char *,BOOL justify=FALSE);
^
In file included from polymod.cpp:16:
In file included from ./polymod.h:19:
In file included from ./poly.h:21:
./zzn.h:186:17: error: friend declaration specifying a default argument must be a definition
friend ZZn luc( const ZZn&, const Big&, ZZn* b3=NULL);
^
6 errors generated.
In file included from poly.cpp:13:
In file included from ./poly.h:21:
In file included from ./zzn.h:53:
./big.h:302:16: error: friend declaration specifying a default argument must be a definition
friend int to_binary(const Big&,int,char *,BOOL justify=FALSE);
^
./big.h:324:16: error: friend declaration specifying a default argument must be a definition
friend Big luc(const Big& ,const Big&, const Big&, Big *b4=NULL);
^
./big.h:356:16: error: friend declaration specifying a default argument must be a definition
friend int window(const Big&,int,int*,int*,int window_size=5);
^
./big.h:357:16: error: friend declaration specifying a default argument must be a definition
friend int naf_window(const Big&,const Big&,int,int*,int*,int store=11);
^
./big.h:423:12: error: friend declaration specifying a default argument must be the only declaration
extern int to_binary(const Big&,int,char *,BOOL);
^
./big.h:302:16: note: previous declaration is here
friend int to_binary(const Big&,int,char *,BOOL justify=FALSE);
^
In file included from poly.cpp:13:
In file included from ./poly.h:21:
./zzn.h:186:17: error: friend declaration specifying a default argument must be a definition
friend ZZn luc( const ZZn&, const Big&, ZZn* b3=NULL);
^
6 errors generated.
clang: error: no such file or directory: 'polymod.o'
clang: error: no such file or directory: 'poly.o'
clang: error: no such file or directory: 'ecn.o'
clang: error: no such file or directory: 'crt.o'
clang: error: no such file or directory: 'zzn.o'
clang: error: no such file or directory: 'big.o'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment