X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=izqANRRyq8fqT4Ib/xrplkl3kTlJk H2PNFqd97fvPWI1CuNzkWOGI72/rPdSN3A474pWIokmwMKLGnuSRipTB20f5Fp+I hW0wzICDcXxFdTDHS2dnqfv+EkLOKmJ12skrU6l532NDsGsQ7aHnP/2PmyYJQ1EG UkeanSjjrISEmw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=tS4HufRJXGvGL5x4gX5asvme1mo=; b=JyK z8lMLQok/lqYm1GDjLErYjewxBa34YrRisOvzM8LEcPWs6RUnWniTJiFekL5i9wI /RQm2DEIyRaR7R8+kAaesBuKNl4nWLkeyfm5zv14TUObBOahnh09KZSasG9T0h0T v7joHdQ+cnJjkrdNBWyeiLQniF4p2JG+InPRITjo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy=cc1plus X-HELO: mail-io1-f49.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Ur1fUu/hNL38fsGG36g9X7TjWndpyblO7ln57zaB+iU=; b=dtuu6mQ3GT9DijhlQKzHzHN2T3e4Z955ZcH3LJm6oo3uPgBupF4UQO4XOHiI02DHEw 1Baqin7EodpnTaeXMF9d2snvX9LAFQQZ/1eBDXKyLV+rJeU+eOQT4LJmWaQFDmjwYGx2 OdcMeBFN4fVOTp2XQfvNSX9y5NOhqKBnc20WrGReJGZfxUNgtd7dQifmRD7Vc9fjQxSW xVbcukJPr2w1TusXfxDOBJHr9tZohRM57EbKgnh/TCO5lrzt2nhTy77ciEs07fdRsMMS NELuLQwwJDsyB2ycfG19Eu01yyEGuLAw3pXf//PjXdp6jyER62IySutvnEoflblliPXQ o7Rw== MIME-Version: 1.0 From: Biswapriyo Nath Date: Fri, 5 Jul 2019 13:15:46 +0530 Message-ID: Subject: cygwin can not be compiled with gcc 8.3.0 To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes 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