public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygwin can not be compiled with gcc 8.3.0
@ 2019-07-05  7:46 Biswapriyo Nath
  2019-07-05  8:21 ` Houder
  2019-07-17 15:13 ` Ken Brown
  0 siblings, 2 replies; 11+ messages in thread
From: Biswapriyo Nath @ 2019-07-05  7:46 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-07-17 15:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-05  7:46 cygwin can not be compiled with gcc 8.3.0 Biswapriyo Nath
2019-07-05  8:21 ` Houder
2019-07-05  8:39   ` Houder
2019-07-05 17:03   ` Biswapriyo Nath
2019-07-05 18:48     ` Marco Atzeri
2019-07-05 20:46       ` Biswapriyo Nath
2019-07-06  4:04         ` Sam Edge
2019-07-06  4:00     ` Sam Edge
2019-07-06  8:24     ` Houder
2019-07-06 14:29       ` Brian Inglis
2019-07-17 15:13 ` Ken Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).