On Jul 4, 2016, at 6:34 AM, harryren0...@sina.com wrote:
> 
> ../../../../cygwinSrc/winsup/cygwin/cxx.cc:32:32: error: unknown option after 
> '#pragma GCC diagnostic' kind [-Werror=pragmas]
> #pragma GCC diagnostic ignored "-Wc++14-compat”

That says you’re using a GCC that doesn’t understand -Wc++14-compat, which 
means you’re not using the same GCC that Cygwin is normally built with.

Either you’re using the wrong GCC unintentionally or you’re using a custom GCC 
that was built without C++14 support.

> /cygwinObj/i686-pc-cygwin/winsup/cygwin/../../../../cygwinSrc/winsup/cygwin/math/complex_internal.h:138:
>  multiple definition of `__mingw_raise_matherr’

I’m unsure about that one.  The “mingw” part may mean that you’re 
unintentionally using MinGW’s GCC instead of Cygwin’s, or it might just mean 
that cygwin1.dll is being built with Cygwin’s GCC in “MinGW mode,” meaning that 
the target isn’t linked to cygwin1.dll.

(Naturally cygwin1.dll is one of the few things in the stock Cygwin 
distribution that must be built as a native Windows API process.  The other 
major piece of that kind is setup.exe.  There’s also a few utility programs 
like cygcheck, which must be runnable while Cygwin is not working for whatever 
reason.)
--
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

Reply via email to