Re: Errors in standard include files

Keith Marshall <[email protected]>
Newsgroups gmane.comp.gnu.mingw.user
Organization MinGW.org Project
Message-ID <[email protected]>
On 09/01/2020 21:32, Anton Shepelev wrote:
> Hello, all
> 
> When compiling dosbox-staging in MinGW, I get an avalanche
> of errors from the standard include files:
> 
>    https://pastebin.com/raw/VrNzMqLH
> 
> If you will so kind as to help me, what information shall I
> provide -- a minimal program that reproduces it?

At the very least, you need to show the compilation command which
produces your "avalanche of errors", together with the source code
context which triggers it.

FWIW, your pastebin shows only the error messages, which appear to
indicate that they are triggered when a statement such as:

   #include <sstream>

is parsed within a C++ translation unit, but we see no indication of
which feature test macros, if any, may be in scope at point of failure;
just compiling that one statement, in isolation:

   $ echo '#include <sstream>' | mingw32-g++ -c -fsyntax-only -x c++ -

I am unable to reproduce your errors, (or indeed, any diagnostic output
whatsoever).

I would further point out that you appear to be using GCC-4.9.3, (with
undisclosed mingwrt/w32api version), which is positively antique; I ran
the above (trivial) test with:

   $ mingw32-g++ --version
   mingw32-g++ (MinGW.org Cross-GCC Build-20191117-1) 9.2.0
   Copyright (C) 2019 Free Software Foundation, Inc.
   This is free software; see the source for copying conditions.
   There is NO warranty; not even for MERCHANTABILITY or FITNESS
   FOR A PARTICULAR PURPOSE.

which is currently an experimental cross-compiler build; the currently
released MinGW build is GCC-8.2.0, with mingwrt/w32api-5.2.2

-- 
Regards,
Keith.

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

_______________________________________________
MinGW-Users mailing list
[email protected]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.osdn.me/mailman/listinfo/mingw-users
Also: mailto:[email protected]?subject=unsubscribe
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwZ7AGBVH3lDh1I9TwK02xjR+Wj8FAl4XrRkACgkQwK02xjR+
Wj/YyA/9G04kUUumFmAO2fAZk94SvJIWoI0AbsoRpEcr7ZOMumpeQZRu88OuDGfE
CTnuxnKCNQ9xnfS3B0e4Xcau4kszSiU5hYqr1fI2knVpPypP3ic+1wN6S3PNdz25
XqnMd73Jd6nhJYhB0hraL1KFfJiA/Z+ovrn36OsEhs1EUZvfLMCBl+4ZmAaeuXiG
iDNzxgSRkWMfpYenlWg1gn1j+Zr/UGf4Zfd+KFnS8viOF3A9mkCJ8wi15r1TmD/6
VfpcyuS/XoFKKXlW8Mw0cz2PXJmvwczXerudurGbaL9oHl0hVUVGVnfWzJO9Lplr
pnoLQyMgGo1o5odPmH+qqNXnAFVsWE9MR0fCctV2Yc/06+nwkwW7TDPZHy9VLDYU
9g9W4bQrZsnhDFRdMrQolAIuMr6EdzaoKVs2VT6rKhIoma28RpCuJmR1ASzJYmYA
jJfU1ofN/tbPB/blmqPXsUJPRj7mlRD8QP0rN0oKhnbdvyzJhjFjnHjyJxeA9ZhU
kCJx5SP2i7rZYmEprRbXxOhn44FJDWDXRc5o4upH2e07gYNcNbDedhqt5rnPAJo3
oUCSidlYjsjV015fpDxOgVAqEwJlPRCDjoMGvqS4cc7+9ta0bfIp/h1Jekf5qiD3
b0Sq+TXVHLNFd/shiNdHdwmLOTWg8Cc1Vb+bl9Ixi8G9GAMWOCY=
=JsCq
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.