I've downloaded the RAPID library and tried to compile it on Microsoft Visual Studio 2008. However, I'm getting the following compiler error: C4430 missing type specifier - int assumed. Note: C++ does not support default-int at this code segment (the exact line that produces the error is int flag):
    class RAPID_model
{
public:
  box *b;
  int num_boxes_alloced;
  tri *tris;
  int num_tris;
  int num_tris_alloced;
  int build_state;
  int build_hierarchy();
  friend RAPID_Collide(double R1[3][3], double T1[3], 
         double s1, RAPID_model *RAPID_model1,
         double R2[3][3], double T2[3], 
         double s2, RAPID_model *RAPID_model2,
         int flag);
Can anyone please help me with this?
Thank you