Just started testing with gcc-3.0 snapshot for some of the sources I'm
working on, and noticed that it doesn't like this:

                printf ("Usage: ptserver [-database <db path>] "
#ifndef AFS_NT40_ENV
                        "[-syslog[=FACILITY]] "
#endif
                        "[-p <number of processes>] [-rebuild] "


gives this error:

ptserver.c:161:1: directives may not be used inside a macro argument
ptserver.c:161:1: unterminated argument list invoking macro "printf"
ptserver.c:162: parse error before string constant

so, all those are going to need changed.

What's really bizarre is - since when was printf a macro?

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  [EMAIL PROTECTED]
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216
_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to