public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Biswapriyo Nath <nathbappai@gmail.com>
To: cygwin@cygwin.com
Subject: cygwin can not be compiled with gcc 8.3.0
Date: Fri, 05 Jul 2019 07:46:00 -0000	[thread overview]
Message-ID: <CALK-3mKzG-1zhMQE5yV1fZyp_hWp1cRyOBQM4Tfqyins8KEfRA@mail.gmail.com> (raw)

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

             reply	other threads:[~2019-07-05  7:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-05  7:46 Biswapriyo Nath [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALK-3mKzG-1zhMQE5yV1fZyp_hWp1cRyOBQM4Tfqyins8KEfRA@mail.gmail.com \
    --to=nathbappai@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).