delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4463A0D4.1060006@cygwin.com> |
Date: | Thu, 11 May 2006 16:38:44 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051223 Fedora/1.5-0.2.fc4.remi Thunderbird/1.5 Mnenhy/0.7.3.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: how come #include "*.cpp" works? |
References: | <44638BED DOT 5020009 AT telenet DOT be> |
In-Reply-To: | <44638BED.5020009@telenet.be> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Klaas Thoelen wrote: > Hello *, > > I recently installed cygwin to freshen up my C/C++, what I didn't want > to do using huge programs like visual studio. It seemed to work fine > until I came across the following problem. > > I have 3 files: datum.h > datum.cpp > datumprint.cpp (which has my main in it) > > In 'datum.cpp' I include 'datum.h' as I should, and in 'datumprint.cpp' > also. But this gives me compile-errors about members of my class Date > being undefined. However, if I include 'datum.cpp' in 'datumprint.cpp' > it works just fine! > > This seems a little strange to me. Does anybody know what's wrong here? This isn't a Cygwin specific problem so it's off-topic for this list. Please find a better forum for such questions. If you feel you must continue this discussion with a Cygwin crowd, then you can try the cygwin-talk list. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |