Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 4 Sep 2001 16:28:00 +1000 From: David Salotti To: cygwin AT cygwin DOT com Subject: Re: Problems executing programs which includes rpcndr.h Message-Id: <20010904162800.5c2ed37a.david@proximity.com.au> In-Reply-To: <20010903185145.0dc8de2f.david@proximity.com.au> References: <20010903185145 DOT 0dc8de2f DOT david AT proximity DOT com DOT au> X-Mailer: Sylpheed version 0.4.61 (GTK+ 1.2.10; Linux 2.4.2-2; i686) Organization: Proximity Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Ok, this is pretty weird - but if I rearrange the #include's, I am able to run the program successfully??? Does anyone know what's in rpcndr.h that's conflicting with iostream?? the arrangement that works is: #include #include #include ta Dave On Mon, 3 Sep 2001 18:51:45 +1000, David Salotti proclaimed: > Hi all, > ... > > Here's a sample program that will cause a failure: > > #include > #include > #include > > using namespace std; > > int > main (int argc, char **argv) > { > cout << "Made it!" << endl; > return EXIT_SUCCESS; > } > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/