[Mingw-users] Errors in standard include files

Keith Marshall keith****@users*****
Sat Jan 11 05:49:20 JST 2020


On 10/01/2020 19:55, Anton Shepelev wrote:
> Keith Marshall:
>>> How can I query that version?
>>
>>   $ echo '#include <windows.h>' | mingw32-gcc -E -dM -xc - |
>>   > grep -E '(MINGW32|W32API)_VERSION'
> 
> After an unsuccessful attempt to reinstall gcc, I no longer
> have either `mingw32-gcc' or `windows.h'.  I should not have
> hurried so much.  Am I stuck for good, or is there hope yet?

mingw32-gcc is my GNU/Linux hosted cross-compiler; on Windows, you would
just run:

  $ echo '#include <windows.h>' | gcc -E -dM -xc - |
  > grep -E '(MINGW32|W32API)_VERSION'

If you have managed to uninstall gcc, you should be able to install the
latest version, after you've updated your primary repository references,
to point to OSDN.net; we no longer maintain packages on SF.net

-- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.osdn.me/mailman/archives/mingw-users/attachments/20200110/48c2441f/attachment.sig>


More information about the MinGW-Users mailing list