Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Problem in compiling an IDL file
@ 1993-09-10 16:33 Rick Wessman
  1993-09-10 20:23 ` Jonathan Chinitz
  0 siblings, 1 reply; 2+ messages in thread
From: Rick Wessman @ 1993-09-10 16:33 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1993-09-10 20:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-09-10 16:33 Problem in compiling an IDL file Rick Wessman
1993-09-10 20:23 ` Jonathan Chinitz

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