D
dspfun
Hi,
I get a compile/preprocessor error when trying to call/use the
following line:
openlog (__FUNCTION__, 0x02 | 0x01 | 0x08, (1<<3));
The openlog function is declared as:
extern void openlog (__const char *__ident, int __option, int
__facility);
The compiler error is:
------------------------------------------
powerpc-linux-gnu-gcc -c
....snip...
-Wno-write-strings foo.c -o foo.o
foo.c:62: error: expected declaration specifiers or '...' before
'__FUNCTION__'
....snip...
gmake[1]: *** [foo.o] Error 1
Command exited with non-zero status 2
------------------------------------------
Does anyone have any idea what the problem is and how to resolve it?
Brs,
Markus
I get a compile/preprocessor error when trying to call/use the
following line:
openlog (__FUNCTION__, 0x02 | 0x01 | 0x08, (1<<3));
The openlog function is declared as:
extern void openlog (__const char *__ident, int __option, int
__facility);
The compiler error is:
------------------------------------------
powerpc-linux-gnu-gcc -c
....snip...
-Wno-write-strings foo.c -o foo.o
foo.c:62: error: expected declaration specifiers or '...' before
'__FUNCTION__'
....snip...
gmake[1]: *** [foo.o] Error 1
Command exited with non-zero status 2
------------------------------------------
Does anyone have any idea what the problem is and how to resolve it?
Brs,
Markus