VC++ Express Beta2 from VC++2003

Hi

Im new to software dev. I'm trying to compile some software from sipfoundry. Its giving mainly the 3 errors 

c:\sipfoundry\sipxportlib\include\os\wnt\osbsemwnt.h(71) : error C2146: syntax error : missing ';' before identifier 'mSemImp'

c:\sipfoundry\sipxportlib\include\os\wnt\osbsemwnt.h(71) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

c:\sipfoundry\sipxportlib\include\os\wnt\osbsemwnt.h(71) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

The code was nicely getting compiled in VC++2003. Now since the project is very big I dont think I can change everywhere (like explicitly declaring int). Is there anyway  I can maintain downward compatiblity / what change I should do to make it work in VC++2005.

The code osbsemwnt.h is as follows,

#ifndef _OsBSemWnt_h_

#define _OsBSemWnt_h_

// SYSTEM INCLUDES

//#include <windows.h>

// APPLICATION INCLUDES

#include "os/OsBSem.h"

// DEFINES

// MACROS

// EXTERNAL FUNCTIONS

// EXTERNAL VARIABLES

// CONSTANTS

// STRUCTS

// TYPEDEFS

typedef HANDLE WinSemaphore;   //line 71

// FORWARD DECLARATIONS

//:Binary semaphore for Windows NT

class OsBSemWnt : public OsBSemBase

{

}

Regards

Prakash, ME Micro, CEDT, IISc

 




Answer this question

VC++ Express Beta2 from VC++2003