Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-08-30 00:03:08 +0400
committerDJ Delorie <dj@redhat.com>2001-08-30 00:03:08 +0400
commit646d6b3a1ee7fba0d00d907c4de6e2b8c23edc9a (patch)
treec27619b48e207de93ce380283217569fe25a798c /include/ansidecl.h
parentf29865c5ffb5ac44a340f7cb83a56f2669af2c34 (diff)
merge from gcc
Diffstat (limited to 'include/ansidecl.h')
-rw-r--r--include/ansidecl.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/ansidecl.h b/include/ansidecl.h
index 4c63fa66e..9a7c5777f 100644
--- a/include/ansidecl.h
+++ b/include/ansidecl.h
@@ -93,11 +93,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
You can declare variables either before or after the VA_OPEN,
- VA_FIXEDARG sequence. You can _not_ put statements before VA_OPEN.
- Also, VA_OPEN and VA_CLOSE are the beginning and end of a block.
- They must appear at the same nesting level, and any variables
- declared after VA_OPEN go out of scope at VA_CLOSE. Unfortunately,
- with a K+R compiler, that includes the argument list.
+ VA_FIXEDARG sequence. Also, VA_OPEN and VA_CLOSE are the beginning
+ and end of a block. They must appear at the same nesting level,
+ and any variables declared after VA_OPEN go out of scope at
+ VA_CLOSE. Unfortunately, with a K+R compiler, that includes the
+ argument list. You can have multiple instances of VA_OPEN/VA_CLOSE
+ pairs in a single function in case you need to traverse the
+ argument list more than once.
For ease of writing code which uses GCC extensions but needs to be
portable to other compilers, we provide the GCC_VERSION macro that