Re: conundrum: _C99_SOURCE vs. sigset

2006-08-03 Thread Stefan Farfeleder
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

Re: conundrum: _C99_SOURCE vs. sigset

2006-08-03 Thread Mikhail Teterin
четвер 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

conundrum: _C99_SOURCE vs. sigset

2006-08-03 Thread Mikhail Teterin
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