#2 VC++ 2005 SP1 compile problem

closed
nobody
None
5
2007-01-12
2007-01-12
Tom Donovan
No

Microsoft Visual C++ 2005 SP1 cannot compile extra\yassl\taocrypt\src\integer.cpp

error C2244 - "unable to match function definition to an existing
declaration"

This can be fixed by changing the definition of 'allocate' in integer.cpp (line
91) to better match the declaration in integer.hpp (line 96).

This problem appears to be a weakness in the VC++ 2005 compiler, as both
AllocatorBase<T>::pointer and AlignedAllocator<T>::pointer are typedefs for T*

Also submitted as MySQL bug http://bugs.mysql.com/bug.php?id=25451

Discussion

  • Todd Ouska
    Todd Ouska
    2007-01-12

    Logged In: YES
    user_id=1200706
    Originator: NO

    Fixed on 1/2/07 for version 1.5.8.
    Submitted change to MySQL.

     
  • Todd Ouska
    Todd Ouska
    2007-01-12

    • status: open --> closed