On Thu, Aug 03, 2006 at 03:47:34PM -0400, Mikhail Teterin wrote:
> Hello!
>
> I'm trying to compile a program, which uses threads and has its own daemon
> global variable.
>
> The variable's declaration results in an error:
>
> recsnap.C:50: error: `RTRString daemon' redeclared as different kin
четвер 03 серпень 2006 17:38, Stefan Farfeleder написав:
> Try -D_POSIX_C_SOURCE=200112.
Thanks, I will.
> The macro _C99_SOURCE is for pure C99 code and _ANSI_SOURCE for C90
> code. Both don't include the header.
They do -- it gets included from iostream, even when I define one of those.
Tha
Hello!
I'm trying to compile a program, which uses threads and has its own daemon
global variable.
The variable's declaration results in an error:
recsnap.C:50: error: `RTRString daemon' redeclared as different kind of symbol
/usr/include/stdlib.h:252: error: previous declaration of `int daemon