Re: sigset_t and gcc
From: Chris Dollin (kers_at_hpl.hp.com)
Date: 11/26/03
- Next message: Al Bowers: "Re: simple c array help needed"
- Previous message: Ekkehard Morgenstern: "Re: malloc vs. realloc"
- In reply to: Jade Fox: "sigset_t and gcc"
- Next in thread: Irrwahn Grausewitz: "Re: sigset_t and gcc"
- Reply: Irrwahn Grausewitz: "Re: sigset_t and gcc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 26 Nov 2003 15:20:47 +0000
Jade Fox wrote:
> Can anybody tell me what is wrong with the following code?
> It compiles ok with 'gcc file.c',
> but not 'gcc -ansi file.c' or 'gcc -std=c99 file.c'.
> It complains that 'sigset_t' is undeclared.
> What options am I missing? Thanks
>
> #include <signal.h>
>
> int main()
> {
> sigset_t set;
> }
I'd hypothesise that sigset_t is not in the ISO standards for C.
<fx:peek/>
Can't see it in C90.
Perhaps it's POSIX.
-- Chris "electric hedgehog" Dollin C FAQs at: http://www.faqs.org/faqs/by-newsgroup/comp/comp.lang.c.html C welcome: http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html
- Next message: Al Bowers: "Re: simple c array help needed"
- Previous message: Ekkehard Morgenstern: "Re: malloc vs. realloc"
- In reply to: Jade Fox: "sigset_t and gcc"
- Next in thread: Irrwahn Grausewitz: "Re: sigset_t and gcc"
- Reply: Irrwahn Grausewitz: "Re: sigset_t and gcc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|