Web lists-archives.com

Re: [ANNOUNCEMENT] [Updated] mingw64-{i686,x86_64} binutils, gcc (Test)

Am 25.09.2017 um 03:53 schrieb Steven Penny:
On Sun, 24 Sep 2017 00:48:20, JonY wrote:
I don't really work with cmake, but what it looks like, but it probably
makes gcc look in the mingw include dir first and then gcc's, breaking
gcc's headers.

Correct thus far. -isystem is really not a compiler option that CMake should be injecting on its own recognizance. It's for specs files, compiler/libc implementation control and such. It will almost certainly break, among other things, any non-trivial use of #include_next.

Here is another problem:

$ cat z.cpp
#include <iostream>
main() {
  std::cout << "cout test\n";

$ x86_64-w64-mingw32-g++ -static -o z z.cpp

$ ./z
Segmentation fault

Does not reproduce here.

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