[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
errors compiling under gcc3.2 and their fixes
Hi,
I got a bunch of compiler errors when compiling from source. (That
sounds redundant.) I'm using gcc3.2.2, so earlier compilers might just
leave *some* of them as warnings. Theres three places where the default
argument was given in the header, AND given again in the .cc file:
srmv2/session-srmv2.cc:62: default argument given for parameter 6 of `
SRMv2_Session::SRMv2_Session(unsigned int, unsigned int, unsigned int,
unsigned int, int, int* = 0)'
srmv2/ns-srmv2.cc:849: default argument given for parameter 1 of `void
NS_Node::compute_signature(int = 1)'
srmv2/pktbuf-srmv2.cc:53: default argument given for parameter 2 of `
SRMv2_pktbuf* SRMv2_BufferPool::alloc(unsigned char, unsigned char = 0,
unsigned int = 0)'
Just deleting the default args in the .cc takes care of them.
In addition, when compiling with desCore, all of the crypt-des.cc files
couldnt find "rtp.h". I just changed those files to look in the correct
location, but this should probably be fixed in the makefiles. (Im
inherently lazy) ;-)
Just thought I'd put this up for someone with CVS access,
Chris