Re: Errors in standard include files

Anton Shepelev <[email protected]>
Newsgroups gmane.comp.gnu.mingw.user
Message-ID <[email protected]>
Keith Marshall:

> 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++ -

Excellent.  If you only add -std=c++11 the errors will be
there:

   $ echo '#include <sstream>' | gcc -std=c++11 -c -fsyntax-only -x c++ -

I beg your pardon for not specifying it in advance.  When my
own program fails I can easily come up with a minimal test
case, but I feel at a loss with huge projects and
complicated build scripts.

> I would further point out that you appear to be using
> GCC-4.9.3

Can I update MinGW on Windows XP anymore?  My MinGW
Installation Manager fails with what I perceive as two
messages:

   1. Cannot open URL.
   2. Sync repository failed.

The URL in the error message is (typing from screen):

   http://prdownloads.sourceforge.net/mingw/package-list.xml.lzma?download

-- 
()  ascii ribbon campaign -- against html e-mail
/\  http://preview.tinyurl.com/qcy6mjc [archived]

_______________________________________________
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
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.