tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18571] New: - jk/native/common: "stray '\'" won't compile: gcc 2.95.{2,3}
Date Tue, 01 Apr 2003 15:56:36 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18571>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18571

jk/native/common: "stray '\'" won't compile: gcc 2.95.{2,3}

           Summary: jk/native/common: "stray '\'" won't compile: gcc
                    2.95.{2,3}
           Product: Tomcat 3
           Version: Unknown
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connectors
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: stephan@wanderinghorse.net


oot@zeus[/usr/src/jakarta-tomcat-connectors/jk/native/common]% make  
<snip>  
jk_ajp_common.c: In function `ajp_get_endpoint':  
jk_ajp_common.c:1575: stray '\' in program  
make: *** [jk_ajp_common.lo] Error 1  
  
root@zeus[/usr/src/jakarta-tomcat-connectors/jk/native/common]% gcc --version  
2.95.3  
  
Similar errors in jk_md5.c, due to multi-line #defines.  
  
gcc 2.95.{2,3} apparently can't handle multi-line #defines. The error above is  
not in a #define, but is an extranous (unnecessary) slash:  
jk_log(l, JK_LOG_DEBUG,  
 "In jk_endpoint_t::ajp_get_endpoint," \  
 " cleaning cache slot = %d elapsed %d\n",  
 i, elapsed);  
  
  
Removing the extra \'s and reformatting the #defines to a single line makes it 
work.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message