3 Nov 2003 06:18
[Fwd: Re: Compiling crypto++ with -Wall -Werror]
Stephen torri <storri <at> torri.org>
2003-11-03 05:18:48 GMT
2003-11-03 05:18:48 GMT
I am trying to create a text editor program that can be used to encrypt
and decrypt files. In order to ensure that there are no security holes
in the code I link in I am compiling crypto++ with the gcc options of
'-g -Wall -Werror'.=20
In doing so I am noticing a few things missed with the old compiler
options of just '-g'. Is there a preferred format for sending in patches
to fix these warnings?
Here are the errors I get with crypto++ (v. CVS) and gcc (v. 3.2.3):
g++ -g -Wall -Werror -pipe -c 3way.cpp
cc1plus: warnings being treated as errors
In file included from seckey.h:10,
from 3way.h:7,
from 3way.cpp:5:
simple.h: In member function `unsigned int
CryptoPP::InputRejecting<T>::Put2(const byte*, unsigned int, int,
bool)':
simple.h:94: warning: no return statement in function returning non-void
simple.h: In member function `bool
CryptoPP::InputRejecting<T>::IsolatedMessageSeriesEnd(bool)':
simple.h:96: warning: no return statement in function returning non-void
simple.h: In member function `unsigned int
CryptoPP::InputRejecting<T>::ChannelPut2(const std::string&, const
byte*,
unsigned int, int, bool)':
simple.h:99: warning: no return statement in function returning non-void
simple.h: In member function `bool
CryptoPP::InputRejecting<T>::ChannelMessageSeriesEnd(const
(Continue reading)
RSS Feed