Re: [Exim] Doesn't build with GCC 3.0 (was Re: Release of Ex…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Steve Haslam
Datum:  
To: exim-users
Betreff: Re: [Exim] Doesn't build with GCC 3.0 (was Re: Release of Exim 3.30)
On Tue, Jun 19, 2001 at 01:18:13PM -0400, Dave C. wrote:
> One could also do:
>
>        printf("  -d   debug: show compiled code; implies -i\n"
>               "  -i   show information about compiled pattern\n");
>    #if !defined NOPOSIX
>        printf("  -p   use POSIX interface\n");
>    #endif
>        printf("  -s   output store information\n"
>               "  -t   time compilation and execution\n");


Or indeed:

static const char * helptext = 
              "  -d   debug: show compiled code; implies -i\n"
              "  -i   show information about compiled pattern\n"
   #if !defined NOPOSIX
              "  -p   use POSIX interface\n"
   #endif
              "  -s   output store information\n"
              "  -t   time compilation and execution\n";


[...later...]
printf(helptext, <the arguments>);

SRH
-- 
+              Steve Haslam              |       W: +44-20-7447-1839       +
+      Software Engineer, Excite UK      |       M: +44-7775-645618        +
.                     NP: Queensrÿche - My Global Mind                     .