summaryrefslogtreecommitdiff
path: root/gl/stdbool_.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/stdbool_.h')
-rw-r--r--gl/stdbool_.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gl/stdbool_.h b/gl/stdbool_.h
index efa80ba921..8525f0fe87 100644
--- a/gl/stdbool_.h
+++ b/gl/stdbool_.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2002, 2003, 2006, 2007 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
@@ -41,6 +41,9 @@
- You cannot assume that _Bool is a typedef; it might be a macro.
+ - Bit-fields of type 'bool' are not supported. Portable code
+ should use 'unsigned int foo : 1;' rather than 'bool foo : 1;'.
+
- In C99, casts and automatic conversions to '_Bool' or 'bool' are
performed in such a way that every nonzero value gets converted
to 'true', and zero gets converted to 'false'. This doesn't work