httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: apache-2.0/src/modules/mpm/mpmt mpmt.c
Date Thu, 13 Jul 2000 23:17:31 GMT
dood. tell me you didn't really test all those compilers just now...

Cheers,
-g

On Thu, Jul 13, 2000 at 06:56:20PM -0400, TOKILEY@aol.com wrote:
> 
> 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

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message