You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Gregg L. Smith" <gl...@gknw.net> on 2011/06/27 05:48:19 UTC

http_protocol.h, ap_rputs inline spells disaster on MSVC

Hello,

looking at the submitted by in r1131465 this is a part of all the code cleanup I have been seeing in bugzilla of late. It seems however that inlining ap_rputs is causing problems on MSVC. I am using VC9 and here is what I am seeing everywhere the header is included.

C:\build3\httpd-HEAD_r1139549\include\http_protocol.h(337) : error C2054: expected '(' to follow 'inline'
C:\build3\httpd-HEAD_r1139549\include\http_protocol.h(338) : error C2085: 'ap_rputs' : not in formal parameter list
C:\build3\httpd-HEAD_r1139549\include\http_protocol.h(338) : error C2143: syntax error : missing ';' before '{'


Cheers,

Gregg


Re: http_protocol.h, ap_rputs inline spells disaster on MSVC

Posted by Stefan Fritsch <sf...@sfritsch.de>.
Hi Gregg,

On Monday 27 June 2011, Gregg L. Smith wrote:
> looking at the submitted by in r1131465 this is a part of all the
> code cleanup I have been seeing in bugzilla of late. It seems
> however that inlining ap_rputs is causing problems on MSVC. I am
> using VC9 and here is what I am seeing everywhere the header is
> included.

please check if r1140249 fixes it.

Bill and Joe have also made commits which should fix the other two 
issues you pointed out (thanks!).

Cheers,
Stefan