Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 22088 invoked by uid 500); 13 Jul 2000 22:56:56 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 22027 invoked from network); 13 Jul 2000 22:56:55 -0000 From: TOKILEY@aol.com Message-ID: <2b.812f84c.269fa314@aol.com> Date: Thu, 13 Jul 2000 18:56:20 EDT Subject: Re: cvs commit: apache-2.0/src/modules/mpm/mpmt mpmt.c To: new-httpd@apache.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: AOL 3.0 16-bit for Windows sub 86 In a message dated 00-07-13 17:02:10 EDT, Greg Stein writes... > +#ifdef (PREFORK) > > + ap_signal(SIGHUP, just_die); > > + ap_signal(SIGTERM, just_die); > > +#endif > > + > > With an #ifdef, you might not be able to use parens like that. Not sure... > Anybody know? > > Cheers, > -g Win32 Compilers = FATAL ERROR Unix Compilers = NON-FATAL WARNING See details that follow... #ifdef (PREFORK) Gives the following FATAL ERROR with the following Win32 compilers... Borland TC 2.0 Borland C 3.1 Borland C++ 5.0 Borland C++ 5.5 WatCom 'C' ( any version ) CC386 ( any version ) CygWin ( any version ) MSVC 5.0 MSVC 6.0 all give the following FATAL ERROR... Error TEST.C:14: Bad #ifdef directive UNIX compilers just give a warning... DJGPP Win32 UNIX compiler TEST.C:14: warning: `#ifdef' argument starts with punctuation Linux Slackware gcc 2.7.2.3 TEST.C:14: warning: `#ifdef' argument starts with punctuation Sun Sparcstation Ultra 5 - Solaris 7 gcc TEST.C:14: warning: `#ifdef' argument starts with punctuation Yours Kevin Kiley CTO, Remote Communications, Inc. http://www.RemoteCommunications.com http://www.rctp.com - Online Internet Content Compression Server