Hi, I'm getting the following error: Error: No symbol void in current scope FILE:/home/isdc/oneel/rootisdc/objects/./sample1.C LINE:435 Syntax Error: void** FILE:/home/isdc/oneel/rootisdc/objects/./sample1.C LINE:435 Error: & Illegal operator for pointer 3 FILE:/home/isdc/oneel/rootisdc/objects/./sample1.C LINE:435 On the following line: status = DALfreeDataBuffer((void **)&intBuff,status); DALfreeDataBuffer is prototyped as: int DALfreeDataBuffer(void **buffer, int currentStatus); and, in this macro the declarations of intBuff and status are: long *intBuff = NULL; int status = ISDC_OK; I can take the cast out of the DALfreeDataBuffer call and things work, but, then the c compiler natters at me if I try to compile the macro. Am I doing something wrong? Thanks! bruce -- Bruce O'Neel phone: +41 22 950 91 22 (direct) INTEGRAL Science Data Centre +41 22 950 91 00 (switchb.) Chemin d'Ecogia 16 fax: +41 22 950 91 33 CH-1290 VERSOIX e-mail: Bruce.Oneel@obs.unige.ch Switzerland WWW: http://obswww.unige.ch/isdc/
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:23 MET