OK latest CVS does not compile

Luke Kenneth Casson Leighton lkcl at samba.org
Mon Dec 6 18:52:04 GMT 1999


it compiles on gcc, it's more than likely not ansi-c compliant.

On Mon, 6 Dec 1999, Greg Dickie wrote:

> 
> 
> Compiling rpc_server/srv_pipe.c
> cc-1028 cc: ERROR File = rpc_server/srv_pipe.c, Line = 485
>   The expression used must have a constant value.
> 
>         struct api_cmd cmd = { pipe_name, process_name, fn };
>                                ^
> 
> cc-1028 cc: ERROR File = rpc_server/srv_pipe.c, Line = 485
>   The expression used must have a constant value.
> 
>         struct api_cmd cmd = { pipe_name, process_name, fn };
>                                           ^
> 
> cc-1028 cc: ERROR File = rpc_server/srv_pipe.c, Line = 485
>   The expression used must have a constant value.
> 
>         struct api_cmd cmd = { pipe_name, process_name, fn };
>                                                         ^
> 
> 3 errors detected in the compilation of "rpc_server/srv_pipe.c".
> Gmake: *** [rpc_server/srv_pipe.o] Error 2
> 
> Or is this one of those things that egcs allows but is not ANSI C?
> 
> Greg
> 
> ---------------------------------------------------------------------
> Greg Dickie
> Just A Guy*
> *from discreet (the logic is gone)
> Montreal 
> (514) 954-7171
> greg at discreet.com
> 



More information about the samba-technical mailing list