https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70313

            Bug ID: 70313
           Summary: libssp/ssp.c should include wincrypt.h for mingw32
           Product: gcc
           Version: 5.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: keith.marshall at mailinator dot com
  Target Milestone: ---

When building for the mingw32 target, compilation fails with a "HCRYPTPROV does
not name a type" error.  HCRYPTPROV is typedef'd in <wincrypt.h>, which is
conspicuously missing from the _WIN32 specific #includes; (IIRC, it must follow
#include <windows.h>, which is included, although its placement within the
"#ifndef _PATH_TTY" conditional block may not be an entirely prudent choice).

Reply via email to