Thanks for the feedback.
Regarding points 1 and 2: While changing the #ifdefs and adding comments
(actually just labels) was not necessary, keeping track of the
unlabelled #ifdefs and #ifs gave me headaches. The labels helped.
Anyway, all labels are now removed.
Regarding point 3: I have
There's lots of detail in my question here
https://stackoverflow.com/questions/67240792/gprof-producing-no-output-for-a-program-that-takes-reasonable-time-to-execute
To summarise:
1. I'm using Mingw64 latest packages from MSYS2
2. Program is compiled and linked with -g -pg
3. Program, when
From aed783445a96eef815db5494e25f7b8962c49d69 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath
Date: Wed, 28 Apr 2021 01:47:33 +0530
Subject: [PATCH] headers: Add rdpencomapi.idl file.
Signed-off-by: Biswapriyo Nath
---
mingw-w64-headers/Makefile.am | 1 +
1. Does changing all `#ifndef` to `#if !defined()` make any difference?
2. It is not necessary to comment every #ifdef...#endif sections. If you
want comment use C89 comment style like this /*...*/
3. Remove comma from last element in enum. C89 :(
___
Hello.
Last year I raised msys2/MINGW-packages issue 7451 regarding some
missing function declarations in the MSYS2 version of the C include file
shlwapi.h for the Microsoft DLL shlwapi.dll.
Since then I have created a fairly complete shlwapi.h file based on the
Microsoft official documentation,
在 2021-04-27 04:26, Biswapriyo Nath 写道:
From 25460572ab90c9028c1225a4570c343ce89b6435 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath
Date: Tue, 27 Apr 2021 01:55:20 +0530
Subject: [PATCH] headers: Add missing names in ntsecapi.h
Signed-off-by: Biswapriyo Nath
---