[ofw] Compilation errors in trunk rev 1227

Anatoly Greenblatt anatolyg at voltaire.com
Mon Jun 2 06:41:25 PDT 2008


Hi,

 

I'm unable to compile trunk rev 1227. There are errors in string.h when
compiling wsdinstall and printip.c:

Have anyone had this problem?

 

Thanks,

Anatoly.

 

1>Compiling - tests\ibat\user\printip.c

1>errors in directory c:\work\trunk\tests\ibat\user

1>c:\winddk\6001.18001\inc\crt\string.h(64) : error C2143: syntax error
: missing ')' before 'type'

1>warnings in directory c:\work\trunk\tests\ibat\user

1>c:\winddk\6001.18001\inc\crt\string.h(64) : warning C4131: '_strset' :
uses old-style declarator

1>c:\winddk\6001.18001\inc\crt\string.h(64) : error C2169: '_strset' :
intrinsic function, cannot be defined

1>c:\winddk\6001.18001\inc\crt\string.h(64) : error C2085: '_Str' : not
in formal parameter list

1>c:\winddk\6001.18001\inc\crt\string.h(64) : error C2059: syntax error
: 'type'

1>c:\winddk\6001.18001\inc\crt\string.h(64) : error C2059: syntax error
: ')'

1>c:\winddk\6001.18001\inc\crt\string.h(65) : error C2143: syntax error
: missing ')' before '('

1>c:\winddk\6001.18001\inc\crt\string.h(65) : error C2091: function
returns function

1>c:\winddk\6001.18001\inc\crt\string.h(65) : warning C4131: '_strset_s'
: uses old-style declarator

1>c:\winddk\6001.18001\inc\crt\string.h(65) : error C2085: '_Dst' : not
in formal parameter list

1>c:\winddk\6001.18001\inc\crt\string.h(65) : error C2082: redefinition
of formal parameter 'size_t'

1>c:\winddk\6001.18001\inc\crt\string.h(65) : error C2146: syntax error
: missing ',' before identifier '_DstSize'

1>c:\winddk\6001.18001\inc\crt\string.h(65) : error C2059: syntax error
: 'type'

1>c:\winddk\6001.18001\inc\crt\string.h(65) : error C2059: syntax error
: ')'

1>c:\winddk\6001.18001\inc\crt\string.h(67) : error C2143: syntax error
: missing ')' before '('

1>c:\winddk\6001.18001\inc\crt\string.h(67) : error C2091: function
returns function

1>c:\winddk\6001.18001\inc\crt\string.h(67) : warning C4131: 'strcpy_s'
: uses old-style declarator

1>c:\winddk\6001.18001\inc\crt\string.h(67) : error C2085: '_Dst' : not
in formal parameter list

1>c:\winddk\6001.18001\inc\crt\string.h(67) : error C2082: redefinition
of formal parameter 'rsize_t'

1>c:\winddk\6001.18001\inc\crt\string.h(67) : error C2146: syntax error
: missing ',' before identifier '_DstSize'

1>c:\winddk\6001.18001\inc\crt\string.h(67) : error C2085: '__in_z' :
not in formal parameter list

1>c:\winddk\6001.18001\inc\crt\string.h(67) : error C2143: syntax error
: missing ';' before 'const'

1>c:\winddk\6001.18001\inc\crt\string.h(67) : error C2059: syntax error
: ')'

1>c:\winddk\6001.18001\inc\crt\string.h(70) : error C2143: syntax error
: missing ')' before 'type'

1>c:\winddk\6001.18001\inc\crt\string.h(70) : warning C4131: 'strcpy' :
uses old-style declarator

1>c:\winddk\6001.18001\inc\crt\string.h(70) : error C2169: 'strcpy' :
intrinsic function, cannot be defined

1>c:\winddk\6001.18001\inc\crt\string.h(70) : error C2085: '_Dest' : not
in formal parameter list

1>c:\winddk\6001.18001\inc\crt\string.h(70) : error C2085: '__in_z' :
not in formal parameter list

1>c:\winddk\6001.18001\inc\crt\string.h(70) : error C2143: syntax error
: missing ';' before 'const'

1>c:\winddk\6001.18001\inc\crt\string.h(70) : error C2059: syntax error
: ')'

1>c:\winddk\6001.18001\inc\crt\string.h(72) : error C2143: syntax error
: missing ')' before '('

1>c:\winddk\6001.18001\inc\crt\string.h(72) : error C2091: function
returns function

1>c:\winddk\6001.18001\inc\crt\string.h(72) : warning C4131: 'strcat_s'
: uses old-style declarator

1>c:\winddk\6001.18001\inc\crt\string.h(72) : error C2085: '_Dst' : not
in formal parameter list

1>c:\winddk\6001.18001\inc\crt\string.h(72) : error C2082: redefinition
of formal parameter 'rsize_t'

1>c:\winddk\6001.18001\inc\crt\string.h(72) : error C2146: syntax error
: missing ',' before identifier '_DstSize'

1>c:\winddk\6001.18001\inc\crt\string.h(72) : error C2085: '__in_z' :
not in formal parameter list

1>c:\winddk\6001.18001\inc\crt\string.h(72) : error C2143: syntax error
: missing ';' before 'const'

1>c:\winddk\6001.18001\inc\crt\string.h(72) : error C2059: syntax error
: ')'

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080602/70619e07/attachment.html>


More information about the ofw mailing list