On Saturday, June 13, 2015 at 9:43:59 PM UTC-4, Nathan Ridge wrote:
>
> Hi,
>
> When compiling a program that uses cryptopp with clang, I get the 
> following warning:
>
> In file included from test.cpp:
> In file included from cryptopp/aes.h:4:
> In file included from cryptopp/rijndael.h:7:
> In file included from cryptopp/seckey.h:9:
> cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' 
> [-Wunused-function]
> static std::string StringNarrow(const wchar_t *str, bool throwOnError = 
> true)
>                    ^
>
> It looks like this function is only used by the source file 'files.cpp' - 
> should it be moved there? 
>
> I'm happy to submit a patch if you agree this is the solution.
>
We cleared this by adding inline to the function in the header. It appeared 
to be the least intrusive way to make the change while preserving previous 
intentions.

https://github.com/weidai11/cryptopp/commit/a0390f1fd725e37a201cc47ba47204182ebc1ccf
https://sourceforge.net/p/cryptopp/code/551/


Jeff 

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to