Menu

#173 wincrypt.h lacks required includes

WSL
closed
None
rejected
Known_Feature
2014-08-26
2002-08-13
No

I could be wrong about this (don't have a copy of
Visual Studio to see what Microsoft does), but the
convention is that header files include everything
necessary to compile correctly, so I'm assuming that
this is an error.

The following program will generate many errors due to
undefined types (in mingw release 1.1):

#include <wincrypt.h>

int main (void)
{
return 1;
}

Discussion

  • Danny Smith

    Danny Smith - 2002-08-13
    • assigned_to: earnie --> dannysmith
    • status: open --> closed-rejected
     
  • Danny Smith

    Danny Smith - 2002-08-13

    Logged In: YES
    user_id=11494

    The w32api convention is to include <windows.h>
    first, before the specific component header. Including
    <windows.h> from each and every w32api header can
    cause circular inclusion problems.

    Danny

     
  • Earnie Boyd

    Earnie Boyd - 2013-01-24
    • labels: w32api (deprecated use WSL) -->
    • status: closed-rejected --> closed
    • resolution: --> rejected
    • category: --> Known_Feature
    • milestone: --> WSL