There are two small recent bugs that break compilation on Windows.

First, this 2019-07-16 commit has a simple typo in the Windows-only
code, "masedkBits" instead of "maskedBits":

  
https://bitbucket.org/naviserver/naviserver/commits/65a47eea3818e515f235cebc59a385cea6e5cf06
  - New feature: context filter for urlspace

Second, the 2019-07-04 change to using "static inline bool" on the
Retry function causes the errors below.  Simply removing the "inline"
fixes the problem.  I don't know if there's a better way.

  
https://bitbucket.org/naviserver/naviserver/commits/5a97670cb105330c645ff25ebe03c3eef8851799
  Define Retry as pure inline function

sock.c(76) : error C2054: expected '(' to follow 'inline'
sock.c(76) : error C2085: 'Retry' : not in formal parameter list
sock.c(78) : error C2085: 'CloseLater' : not in formal parameter list
sock.c(101) : error C2082: redefinition of formal parameter 'inline'
sock.c(101) : error C2146: syntax error : missing ',' before identifier ''
sock.c(101) : error C2146: syntax error : missing ',' before identifier ''
sock.c(101) : error C2143: syntax error : missing ';' before '('
sock.c(101) : error C2059: syntax error : ')'
sock.c(355) : warning C4013: 'Retry' undefined; assuming extern returning int
sock.c(665) : warning C4133: 'function' : incompatible types - from 'int *' to 
'char *'
sock.c(1583) : warning C4133: 'function' : incompatible types - from 'int *' to 
'char *'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 
10.0\VC\Bin\amd64\cl.EXE"' : return code '0x2'
Stop.

-- 
Andrew Piskorski <a...@piskorski.com>


_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to