This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Problems executing programs which includes rpcndr.h
- To: cygwin at cygwin dot com
- Subject: Re: Problems executing programs which includes rpcndr.h
- From: David Salotti <david at proximity dot com dot au>
- Date: Tue, 4 Sep 2001 16:28:00 +1000
- Organization: Proximity
- References: <20010903185145.0dc8de2f.david@proximity.com.au>
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 <rpc.h>
#include <rpcndr.h>
#include <iostream>
ta
Dave
On Mon, 3 Sep 2001 18:51:45 +1000, David Salotti <david@proximity.com.au>
proclaimed:
> Hi all,
>
...
>
> Here's a sample program that will cause a failure:
>
> #include <iostream>
> #include <rpc.h>
> #include <rpcndr.h>
>
> 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/