Hi,

I have found a problem with inline on Windows:

Microsoft VisualStudio seems to don't like at all the inline statement in C code:

store.c
c:\work\nt-2.6\src\store.c(446) : error C2061: syntax error : identifier 'strmatchbeg'
c:\work\nt-2.6\src\store.c(446) : error C2059: syntax error : ';'
c:\work\nt-2.6\src\store.c(446) : error C2059: syntax error : 'type'
c:\work\nt-2.6\src\store.c(455) : error C2061: syntax error : identifier 'strmatch'
c:\work\nt-2.6\src\store.c(455) : error C2059: syntax error : ';'
c:\work\nt-2.6\src\store.c(455) : error C2059: syntax error : 'type'

The solution seems to be use "__inline" instead of "inline".

What about use a _SQUID_INLINE_ like Squid 3.0 ?

Regards

Guido



-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1           10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/

Reply via email to