<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV><FONT face=Arial size=2>Hello everyone,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>We've trying to compile mpich2 under VS2005, with
no success yet... here is the error message.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any suggestions on what's going wrong
?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank you,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Andres</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>in wsiapi.h</FONT></DIV>
<DIV> </DIV><FONT face=Arial size=2>
<DIV><BR>#if !defined(_WSPIAPI_COUNTOF)<BR>#if !defined(__cplusplus)<BR>#define
_WSPIAPI_COUNTOF(_Array) (sizeof(_Array) /
sizeof(_Array[0]))<BR>#else<BR>template <typename __CountofType, size_t
_N><BR>char (&__wspiapi_countof_helper(__CountofType
(&_Array)[_N]))[_N];<BR>#define _WSPIAPI_COUNTOF(_Array)
sizeof(__wspiapi_countof_helper(_Array))<BR>#endif<BR>#endif</DIV>
<DIV> </DIV>
<DIV>error message: </DIV>
<DIV> </DIV>
<DIV>1>------ Build started: Project: smpd_util, Configuration: Debug Win32
------<BR>1>Compiling...<BR>1>smpd_adreg.cpp<BR>1>c:\program
files\microsoft visual studio 8\vc\platformsdk\include\wspiapi.h(44) : error
C2894: templates cannot be declared to have 'C' linkage<BR>1>Build log was
saved at "<A
href="file://d:\DEVELOPPEMENTS\MPICH2\Argonne\mpich2-1.0.2p1\mpich2-1.0.2p1\src\pm\smpd\smpd_utilDebug\BuildLog.htm">file://d:\DEVELOPPEMENTS\MPICH2\Argonne\mpich2-1.0.2p1\mpich2-1.0.2p1\src\pm\smpd\smpd_utilDebug\BuildLog.htm</A>"<BR>1>smpd_util
- 1 error(s), 0 warning(s)<BR></FONT></DIV></DIV></BODY></HTML>