Skip to content

psapi.h must be included after windows.h

Nicolas Marsic requested to merge psapi into master

Hi everyone,

I tried to compile gmshddm on ms-windows with mingw: this requires the psapi.h header to be included after windows.h.

That does not seem to be related to mingw only: msvc2017 seems to fail as well [1], but I didn't try my self.

Cheers, Nicolas

[1] https://stackoverflow.com/questions/52367594/why-does-changing-the-order-of-including-psapi-h-gives-compilation-errosindent

Merge request reports