Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Reg - Unable to use void** in QNX momentics : Page 1 of 2 (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