Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Reg - Unable to use void** in QNX momentics : (2 Items)
   
Reg - Unable to use void** in QNX momentics  
Hi,

Compilation problem in QNX momentics if i using void**. 

  the same code is  working in linux perfectly.

See the below code 

void foo(void**)
int main()
{
   
    int *ptr = NULL;
   foo(&ptr);

}

void foo(void **ptr1)
{
  
 * ptr1 = (int*)malloc(100);

}

Please help on this..


Thanks and Regards
K.Senthil



Re: Reg - Unable to use void** in QNX momentics  
a ';' after the prototype helps :-)