[illumos-Developer] webrev #687: rpcgen should not generate absolute #includes

Stepan Zastupov stepan.zastupov at gmail.com
Wed May 11 12:51:26 PDT 2011


Well, with -p option I won't have to specify include paths (which is
only confusing) and can generate a (temporary?) header file right in
the build directory along with client or server stubs. Anyway, I'm not
a rpcgen user so it's up to you guys.

On Wed, May 11, 2011 at 11:35 PM, Gary Mills <mills at cc.umanitoba.ca> wrote:
> On Wed, May 11, 2011 at 08:09:31PM +0400, Stepan Zastupov wrote:
>> If you specify path like this "../../foo.x" then rpcgen generate file
>> which include "../../foo.h".
>> For a real example, see "usr/src/cmd/idmap/idmapd/rpc_svc.c".
>
> Those are not absolute paths, just relative paths.  If you don't want
> them that way, don't specify them like that.  You can always put
> `-I../..' in the Makefile to have it search there.  I don't see
> anything to fix in rpcgen.
>
> --
> -Gary Mills-        -Unix Group-        -Computer and Network Services-
>



More information about the Developer mailing list