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]

cygwin can not be compiled with gcc 8.3.0


make command shows:

```
In file included from /d/newlib-cygwin/winsup/cygwin/aio.cc:10:
/d/newlib-cygwin/winsup/cygwin/path.h: In member function 'path_conv&
path_conv::eq_worker(const path_conv&, const char*)':
/d/newlib-cygwin/winsup/cygwin/path.h:316:33: error: 'void*
memcpy(void*, const void*, size_t)' writing to an object of type
'class path_conv' with no trivial copy-assignment; use copy-assignment
or copy-initialization instead [-Werror=class-memaccess]
     memcpy (this, &pc, sizeof pc);
                                 ^
/d/newlib-cygwin/winsup/cygwin/path.h:133:7: note: 'class path_conv'
declared here
 class path_conv
       ^~~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [/d/newlib-cygwin/winsup/cygwin/../Makefile.common:41:
aio.o] Error 1
```

Am I doing anything wrong? I have installed all the required
packges[1]. It will be better if cygwin code is fixed for gcc 8.3.0
instead of downgrading gcc version.

[1]: https://cygwin.com/faq.html#faq.programming.building-cygwin

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