delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4B1D68ED.8090501@gmail.com> |
Date: | Mon, 07 Dec 2009 20:43:25 +0000 |
From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Help with errors while compiling |
References: | <26683356 DOT post AT talk DOT nabble DOT com> |
In-Reply-To: | <26683356.post@talk.nabble.com> |
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 |
Afflictedd2 wrote: > I'm trying to build a simple program using pthreads, but I get the following > errors, why? > g++ -c -g -o "Debug/Pthreads.o" -I/Cygwin/usr/include Pthreads.cpp ^^^^^^^^^^^^^^^^^^^^^^ Don't do that, for a start. The compiler knows about all the system's default include directories already, and has them in a carefully-placed search order. If you're lucky, it will just ignore that -I option; if you're unlucky it might be messing things up. If that doesn't fix it you'll need to try and show us a small simple testcase; sounds like whatever it is, we'd just need the first ten lines of your Pthreads.cpp file (up to the #include that prompts the first errors) in order to try and reproduce it. cheers, DaveK -- 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 |