OK latest CVS does not compile

Greg Dickie greg at discreet.com
Mon Dec 6 15:10:53 GMT 1999



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