This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
That's just because you read from /dev/null, so it couldn't infer which language the input file was. Try it with -x c++ ?If I try that with Yaakov's 4.5.3 cross compilers, then __STRICT_ANSI__ is not defined with -std=c__0x, unless I also specify `-ansi' on the command line. However, there's a weird warning:
$ i686-pc-cygwin-g++ -std=c++0x -dM -E -< /dev/null | grep ANSI cc1: warning: command line option "-std=c++0x" is valid for C++/ObjC++ but not for C
Well, sure, that's why I called g++, not gcc...
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |