|
|
Reg - Unable to use void** in QNX momentics
|
|
07/24/2009 6:46 AM
post34498
|
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
|
|
|
|
|