discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

variable declaration


From: Philippe C . D . Robert
Subject: variable declaration
Date: Wed, 16 Oct 2002 23:37:07 +0200

Hi,

first let me say that I do not want to discuss the usability or impacts of the following issue, but I consider it important to keep ObjC in sync, so...

I just noticed that you can declare a variable at anyplace with the gcc shipped with Mac OS X 10.2, just as you can do it in C++ (and unlike in ANSI C). So you are allowed to do

{
  blu();

  int bla;

  bli();
}

Is this valid in gcc 3.2 as well? If not, what is the plan wrt this?

-Phil
--
Philippe C.D. Robert
http://www.nice.ch/~phip





reply via email to

[Prev in Thread] Current Thread [Next in Thread]