Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: rwessman@rwessman.us.oracle.com (Rick Wessman)
Subject: Problem in compiling an IDL file
Date: Fri, 10 Sep 1993 16:33:24 GMT	[thread overview]
Message-ID: <RWESSMAN.93Sep10093324@rwessman.us.oracle.com> (raw)

I'm having difficulty compiling an IDL file when including DCE include files.
The IDL file (simplified) looks like this:

#include <dce/nbase.h>
#include <dce/id_base.h>

.
.
.
interface foobarif
{
    void foobar([out, ref] sec_id_pac_t  *pac);
}

When I run idl, I get:

idl -v -cc_cmd "gcc -c -g" -keep all -I. -I/opt/dcelocal/share/include -I/usr/xpg2include foobar.idl
Running C preprocessor /lib/cpp   foobar.idl -I. -I. -I/opt/dcelocal/share/include -I/usr/xpg2include -I/usr/include
Importing IDL file /opt/dcelocal/share/include/dce/nbase.idl
Running C preprocessor /lib/cpp   /opt/dcelocal/share/include/dce/nbase.idl -I. -I. -I/opt/dcelocal/share/include -I/usr/xpg2include -I/usr/include
Warning: Semantic checking prevented by other reported errors
idl: File /opt/dcelocal/share/include/dce/idlbase.h, line 160: typedef struct
idl: Syntax error near "typedef"

Compilation aborted

Has anyone ever seen this before?

--
                                    Thanks,
                                    Rick
                                    Rick Wessman
				    Network Products Division
				    Oracle Corporation
                                    rwessman@us.oracle.com


             reply	other threads:[~1993-09-10 16:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-09-10 16:33 Rick Wessman [this message]
1993-09-10 20:23 ` Problem in compiling an IDL file Jonathan Chinitz
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox