| delorie.com/archives/browse.cgi | search |
| 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:from:to:subject:date:message-id:references | |
| :in-reply-to:mime-version:content-type | |
| :content-transfer-encoding; q=dns; s=default; b=iYdcOtaznW2AvYfv | |
| 1QpSqPP3+7fxdYdxoQ/kZ/M0HuhRUZRsW6oF4nIrFjKtVN+o36fekXlxzXpRlgJF | |
| zBbZAKenF9a1nhgviQFJaNlUvkWtOWABfC+Scg2RSmJeSG80rFfFT+BUHmM8tU2y | |
| 2RSiQbVDDUd+tJBpAMiYM1QNKAU= | |
| 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:from:to:subject:date:message-id:references | |
| :in-reply-to:mime-version:content-type | |
| :content-transfer-encoding; s=default; bh=4KjcSEZAn98BsDOQoOS0ko | |
| XFWSc=; b=aQYBctIOH02BuFpqOE09p3hIbJ7hgWMcU6GzjXAyC3dSVeZl42vC67 | |
| HmMLsnK0LwpWtUzr/XHjR5bXaihBJYfK8ed8qrlvUDN46kzGzxHn080Jzt9J25YW | |
| Mrt6LaU1/+SALA2+t/alFfgqA5DYhOs6wcyVT4iZAYy6Hp6WWu8qU= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=rhs, 479, H*c:alternative, H*c:HHH |
| X-HELO: | EUR01-DB5-obe.outbound.protection.outlook.com |
| DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BuG/PiKPA1kzX86jplJ0BkPCtfZGU7ai0dPdFfLK9+s=; b=FYfjx8agXp25UN6DEhZIk56+oQIArI70MRFBs7p1+WGBTNkxdUyQRy/iJlzx+GGEYRIJjFgLwEDBXY5f5A/9nkhVQ2HLJBEtD6tnJjnEw3q3MWJumbvOfPIOeHfMTBMJ2s3BOFTJJMy4dMKw7GSXO5tQeeguwV9y1gFLBqWItkVHxQUXINJf375fW/neGmfnpVCe6DFw7voxfdh+pUqGFMH5ES0eaRZW3qaT10MMK4gw0ekigH71gEpB9ysFxUPgY1iUAh/9zk7HKCVgY+2rMntvI/VvHOmRvIcdazBYeTbyFCVcPk05TQJGgK9ehceOc/XrzCmLALeW+RWlYdKyKQ== |
| From: | Jose Isaias Cabrera <jicman AT outlook DOT com> |
| To: | Ken Brown <kbrown AT cornell DOT edu>, "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
| Subject: | Re: How to install gcc and g++ 6 on cygwin which are not on the setup.exe |
| Date: | Sat, 18 May 2019 23:15:28 +0000 |
| Message-ID: | <DB7PR01MB5386D66645D149FE1C8F9CF4DE040@DB7PR01MB5386.eurprd01.prod.exchangelabs.com> |
| References: | <DB7PR01MB5386E5F177071EF6DCF66DE4DE090 AT DB7PR01MB5386 DOT eurprd01 DOT prod DOT exchangelabs DOT com> <CAEhDDbBNmnMRP6Mn23ugjfmFWE1WSsEyTPECdO+RHB-CdU3L4Q AT mail DOT gmail DOT com> <DB7PR01MB53867A7F658986C96FD2CDD7DE0A0 AT DB7PR01MB5386 DOT eurprd01 DOT prod DOT exchangelabs DOT com> <6eb060d0-545b-4c7d-f6c6-a40772dda74f AT gmail DOT com> <DB7PR01MB5386DDBE46994F520877EE09DE0B0 AT DB7PR01MB5386 DOT eurprd01 DOT prod DOT exchangelabs DOT com> <94231473-d378-952e-a450-d0323e3906dd AT cs DOT umass DOT edu> <DB7PR01MB5386415AFAB30F41C11F592DDE0B0 AT DB7PR01MB5386 DOT eurprd01 DOT prod DOT exchangelabs DOT com> <DB7PR01MB5386024F1F0E0D8B0A0B29E9DE040 AT DB7PR01MB5386 DOT eurprd01 DOT prod DOT exchangelabs DOT com> <d9b756f5-69eb-c56b-cb20-82217f6c6f73 AT SystematicSw DOT ab DOT ca> <CAEhDDbDot36px2kQ5DUuVb=4W7LV76FiLm14CdQ5QjyavEssSA AT mail DOT gmail DOT com> <DB7PR01MB5386193660EDF2A73A2F0ED2DE040 AT DB7PR01MB5386 DOT eurprd01 DOT prod DOT exchangelabs DOT com>,<9f039049-77bd-1b62-9e6c-9d33740ccc70 AT cornell DOT edu> |
| In-Reply-To: | <9f039049-77bd-1b62-9e6c-9d33740ccc70@cornell.edu> |
| MIME-Version: | 1.0 |
| X-IsSubscribed: | yes |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id x4INFiJ4017729 |
Ken Brown, on Saturday, May 18, 2019 11:54 AM, wrote...
>On 5/18/2019 8:19 AM, Jose Isaias Cabrera wrote:
> > I am finished and now to start building Bedrockdb. Thanks.
>
> By the way, you're not the only person building Bedrockdb on Cygwin. Someone
> has posted about 10 fixes in the last few days:
>
> https://github.com/Expensify/Bedrock/issues
>
> It looks like this person is porting the source code to gcc-7.4.0.
Thanks, Ken. Maybe I should go back to my original plan to build with gcc-7.4.0. These are all the errors that I am getting with gcc 6.4.0, which I just took two days to build:
e608313 AT HOR711318E ~/Bedrock
$ CC=gcc GXX=g++ make
g++ -g -std=c++14 -fpic -O2 -Wall -Werror -Wformat-security -DGIT_REVISION=ce62c88 -I/home/e608313/Bedrock -I/home/e608313/Bedrock/mbedtls/include -MMD -MF libstuff/libstuff.d -MT libstuff/libstuff.h.gch -c libstuff/libstuff.h
libstuff/libstuff.h:424:17: error: ‘recursive_mutex’ does not name a type
mutable recursive_mutex m;
^~~~~~~~~~~~~~~
libstuff/libstuff.h: In member function ‘std::__cxx11::string std::atomic<std::__cxx11::basic_string<char> >::operator=(std::__cxx11::string)’:
libstuff/libstuff.h:399:23: error: ‘m’ was not declared in this scope
SAUTOLOCK(m);
^
libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^
libstuff/libstuff.h:399:13: note: in expansion of macro ‘SAUTOLOCK’
SAUTOLOCK(m);
^~~~~~~~~
libstuff/libstuff.h:388:58: error: unused variable ‘__SAUTOLOCK___LINE__’ [-Werror=unused-variable]
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^
libstuff/libstuff.h:399:13: note: in expansion of macro ‘SAUTOLOCK’
SAUTOLOCK(m);
^~~~~~~~~
libstuff/libstuff.h: In member function ‘void std::atomic<std::__cxx11::basic_string<char> >::store(std::__cxx11::string, std::memory_order)’:
libstuff/libstuff.h:407:23: error: ‘m’ was not declared in this scope
SAUTOLOCK(m);
^
libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^
libstuff/libstuff.h:407:13: note: in expansion of macro ‘SAUTOLOCK’
SAUTOLOCK(m);
^~~~~~~~~
libstuff/libstuff.h:388:58: error: unused variable ‘__SAUTOLOCK___LINE__’ [-Werror=unused-variable]
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^
libstuff/libstuff.h:407:13: note: in expansion of macro ‘SAUTOLOCK’
SAUTOLOCK(m);
^~~~~~~~~
libstuff/libstuff.h: In member function ‘std::__cxx11::string std::atomic<std::__cxx11::basic_string<char> >::load(std::memory_order) const’:
libstuff/libstuff.h:411:23: error: ‘m’ was not declared in this scope
SAUTOLOCK(m);
^
libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^
libstuff/libstuff.h:411:13: note: in expansion of macro ‘SAUTOLOCK’
SAUTOLOCK(m);
^~~~~~~~~
libstuff/libstuff.h:388:58: error: unused variable ‘__SAUTOLOCK___LINE__’ [-Werror=unused-variable]
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^
libstuff/libstuff.h:411:13: note: in expansion of macro ‘SAUTOLOCK’
SAUTOLOCK(m);
^~~~~~~~~
libstuff/libstuff.h: In member function ‘std::__cxx11::string std::atomic<std::__cxx11::basic_string<char> >::exchange(std::__cxx11::string, std::memory_order)’:
libstuff/libstuff.h:416:23: error: ‘m’ was not declared in this scope
SAUTOLOCK(m);
^
libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^
libstuff/libstuff.h:416:13: note: in expansion of macro ‘SAUTOLOCK’
SAUTOLOCK(m);
^~~~~~~~~
libstuff/libstuff.h:388:58: error: unused variable ‘__SAUTOLOCK___LINE__’ [-Werror=unused-variable]
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^
libstuff/libstuff.h:416:13: note: in expansion of macro ‘SAUTOLOCK’
SAUTOLOCK(m);
^~~~~~~~~
libstuff/libstuff.h: In function ‘bool SIEquals(const string&, const string&)’:
libstuff/libstuff.h:479:105: error: ‘strcasecmp’ was not declared in this scope
inline bool SIEquals(const string& lhs, const string& rhs) { return !strcasecmp(lhs.c_str(), rhs.c_str()); }
^
In file included from libstuff/libstuff.h:858:0:
libstuff/STCPManager.h: At global scope:
libstuff/STCPManager.h:39:9: error: ‘recursive_mutex’ does not name a type
recursive_mutex sendRecvMutex;
^~~~~~~~~~~~~~~
libstuff/STCPManager.h:63:67: error: ‘recursive_mutex’ has not been declared
Socket* openSocket(const string& host, SX509* x509 = nullptr, recursive_mutex* listMutexPtr = nullptr);
^~~~~~~~~~~~~~~
In file included from libstuff/libstuff.h:859:0:
libstuff/STCPServer.h:40:5: error: ‘mutex’ does not name a type
mutex portListMutex;
^~~~~
In file included from libstuff/libstuff.h:860:0:
libstuff/STCPNode.h:64:9: error: ‘recursive_mutex’ does not name a type
recursive_mutex socketMutex;
^~~~~~~~~~~~~~~
In file included from libstuff/libstuff.h:861:0:
libstuff/SHTTPSManager.h:61:5: error: ‘recursive_mutex’ does not name a type
recursive_mutex _listMutex;
^~~~~~~~~~~~~~~
In file included from libstuff/libstuff.h:864:0:
libstuff/SRandom.h:7:27: error: ‘uint’ has not been declared
static string randStr(uint& length);
^~~~
In file included from libstuff/libstuff.h:867:0:
libstuff/SSynchronizedQueue.h:39:13: error: ‘recursive_mutex’ does not name a type
mutable recursive_mutex _queueMutex;
^~~~~~~~~~~~~~~
libstuff/SSynchronizedQueue.h: In member function ‘bool SSynchronizedQueue<T>::empty() const’:
libstuff/SSynchronizedQueue.h:83:15: error: ‘_queueMutex’ was not declared in this scope
SAUTOLOCK(_queueMutex);
^
libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^
libstuff/SSynchronizedQueue.h:83:5: note: in expansion of macro ‘SAUTOLOCK’
SAUTOLOCK(_queueMutex);
^~~~~~~~~
libstuff/SSynchronizedQueue.h: In member function ‘virtual const T& SSynchronizedQueue<T>::front() const’:
libstuff/SSynchronizedQueue.h:89:15: error: ‘_queueMutex’ was not declared in this scope
SAUTOLOCK(_queueMutex);
^
libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^
libstuff/SSynchronizedQueue.h:89:5: note: in expansion of macro ‘SAUTOLOCK’
SAUTOLOCK(_queueMutex);
^~~~~~~~~
libstuff/SSynchronizedQueue.h: In member function ‘virtual T SSynchronizedQueue<T>::pop()’:
libstuff/SSynchronizedQueue.h:98:15: error: ‘_queueMutex’ was not declared in this scope
SAUTOLOCK(_queueMutex);
^
libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^
libstuff/SSynchronizedQueue.h:98:5: note: in expansion of macro ‘SAUTOLOCK’
SAUTOLOCK(_queueMutex);
^~~~~~~~~
libstuff/SSynchronizedQueue.h: In member function ‘virtual void SSynchronizedQueue<T>::push(T&&)’:
libstuff/SSynchronizedQueue.h:109:15: error: ‘_queueMutex’ was not declared in this scope
SAUTOLOCK(_queueMutex);
^
libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^
libstuff/SSynchronizedQueue.h:109:5: note: in expansion of macro ‘SAUTOLOCK’
SAUTOLOCK(_queueMutex);
^~~~~~~~~
libstuff/SSynchronizedQueue.h: In member function ‘size_t SSynchronizedQueue<T>::size() const’:
libstuff/SSynchronizedQueue.h:120:15: error: ‘_queueMutex’ was not declared in this scope
SAUTOLOCK(_queueMutex);
^
libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^
libstuff/SSynchronizedQueue.h:120:5: note: in expansion of macro ‘SAUTOLOCK’
SAUTOLOCK(_queueMutex);
^~~~~~~~~
libstuff/SSynchronizedQueue.h: In member function ‘void SSynchronizedQueue<T>::each(std::function<void(T&)>)’:
libstuff/SSynchronizedQueue.h:126:15: error: ‘_queueMutex’ was not declared in this scope
SAUTOLOCK(_queueMutex);
^
libstuff/libstuff.h:388:48: note: in definition of macro ‘SAUTOLOCK’
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^~~~~~~
libstuff/libstuff.h:388:56: error: template argument 1 is invalid
#define SAUTOLOCK(_MUTEX_) lock_guard<decltype(_MUTEX_)> __SAUTOLOCK_##__LINE__(_MUTEX_);
^
libstuff/SSynchronizedQueue.h:126:5: note: in expansion of macro ‘SAUTOLOCK’
SAUTOLOCK(_queueMutex);
^~~~~~~~~
cc1plus: all warnings being treated as errors
make: *** No rule to make target 'libstuff/libstuff.d', needed by '.build/libstuff/libstuff.d'. Stop.
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |