Mercurial > hg > octave-shane > gnulib-hg
annotate lib/assert.in.h @ 16201:8250f2777afc
maint: update all copyright year number ranges
Run "make update-copyright".
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Sun, 01 Jan 2012 10:04:58 +0100 |
parents | cb78c05783f7 |
children | bb182ee4a09d |
rev | line source |
---|---|
14698
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
1 /* Substitute for and wrapper around <assert.h> |
16201
8250f2777afc
maint: update all copyright year number ranges
Jim Meyering <meyering@redhat.com>
parents:
14698
diff
changeset
|
2 Copyright (C) 2011-2012 Free Software Foundation, Inc. |
14698
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
3 |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
4 This program is free software; you can redistribute it and/or modify |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
5 it under the terms of the GNU General Public License as published by |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
6 the Free Software Foundation; either version 3, or (at your option) |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
7 any later version. |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
8 |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
9 This program is distributed in the hope that it will be useful, |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
10 but WITHOUT ANY WARRANTY; without even the implied warranty of |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
12 GNU General Public License for more details. |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
13 |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
14 You should have received a copy of the GNU General Public License |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
15 along with this program; if not, write to the Free Software Foundation, |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
16 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
17 |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
18 /* Do not guard the include, since <assert.h> is supposed to define |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
19 the assert macro each time it is included. */ |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
20 |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
21 #if __GNUC__ >= 3 |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
22 @PRAGMA_SYSTEM_HEADER@ |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
23 #endif |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
24 @PRAGMA_COLUMNS@ |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
25 |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
26 #@INCLUDE_NEXT@ @NEXT_ASSERT_H@ |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
27 |
cb78c05783f7
assert-h: new module, which supports C1X-style static_assert
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
28 /* The definition of static_assert is copied here. */ |