#18 No more compilation warnings

None
closed
None
5
2015-06-08
2005-08-21
Anonymous
No

In short: Make sure that when compiling with g++ and
the -Wall flag, Crypto++ doesn't produce any output.

When compiling against a few of the Crypto++ headers
with the -Wall flag on, the Crypto++ headers create
warnings about the initialization sequence. This is an
easy warning to deal with and produces allot of output,
so I would love to see it be resolved.

Version: 5.2.1a-1 (debian)

Greetings,
bneijt@gmail.com

Discussion

  • Logged In: NO

    Patch:
    /usr/include/crypto++/iterhash.h: Line 18, change this to:
    IteratedHashBase() : m_countLo(0), m_countHi(0) {}

    (which changes the order of initialization)

     
  • Jeffrey Walton
    Jeffrey Walton
    2015-06-08

    OK, the initialization order warnings were cleared. Ans we cleared the unknown pragmas that cross-pollinated from Windows.

     
  • Jeffrey Walton
    Jeffrey Walton
    2015-06-08

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     In short: Make sure that when compiling with g++ and
     the -Wall flag, Crypto++ doesn't produce any output.
    
    • status: open --> closed
    • assigned_to: Jeffrey Walton
    • Group: -->