Re: Fwd: Re: Depending on C99 (Re: GtkBindingSignal changes)
- From: Dan Winship <danw novell com>
- To: "ANDREW PAPROCKI, BLOOMBERG/ 731 LEXIN" <apaprocki bloomberg net>
- Cc: GTK-DEVEL-LIST GNOME ORG
- Subject: Re: Fwd: Re: Depending on C99 (Re: GtkBindingSignal changes)
- Date: Fri, 06 Jan 2006 11:01:38 -0500
ANDREW PAPROCKI, BLOOMBERG/ 731 LEXIN wrote:
>> within compound statements. As an extension, GCC also allows this in
>> C89 mode. For example, you could do:
>
> IMO, this is a GCC bug... from the man page:
>
> (-std=)
> c89
> iso9899:1990
> ISO C90 (same as -ansi).
Not a bug, just a gcc gotcha. -std=FOO doesn't mean "reject programs
that don't conform to FOO", it means "accept ALL programs that DO
conform to FOO". Eg, if you have a program that uses "inline" or "asm"
as a variable name, you'll need to use -std=c89/-ansi to compile it, to
tell gcc to not interpret those as GNU C keywords.
-- Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]