Mercurial > hg > xemacs-beta
annotate src/s/hpux11-shr.h @ 5370:4c4b96b13f70
Address the easy test failures in tests/automated.
src/ChangeLog addition:
2011-03-11 Aidan Kehoe <kehoea@parhasard.net>
* bytecode.c (optimize_byte_code):
Only transform assignments to keywords to Bdiscard if
NEED_TO_HANDLE_21_4_CODE is turned on. Cf. similar code in
reject_constant_symbols().
tests/ChangeLog addition:
2011-03-11 Aidan Kehoe <kehoea@parhasard.net>
* automated/byte-compiler-tests.el:
(defconst :foo 1) now gives a warning when byte-compiled, check
for that.
(setq :foo 1) now errors with interpreted code, but succeeds with
byte-compiled code; check for the former, wrap a
Known-Bug-Expect-Failure around a check for the error in the
latter case, we can't yet remove this behaviour while we're using
packages compiled by 21.4.
* automated/lisp-tests.el (wrong-type-argument):
Integer zero is a valid argument to #'substring-no-properties, use
Assert not Check-Error for it. Check some other aspects of the
functionality of #'substring-no-properties in passing.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Fri, 11 Mar 2011 20:40:01 +0000 |
parents | ba07c880114a |
children | 2aa9cd456ae7 |
rev | line source |
---|---|
5008
cad59a0a3b19
Add license information from Marcus Thiessel.
Jerry James <james@xemacs.org>
parents:
4759
diff
changeset
|
1 /* For building XEmacs under HPUX 11.0 with dynamic libraries. |
cad59a0a3b19
Add license information from Marcus Thiessel.
Jerry James <james@xemacs.org>
parents:
4759
diff
changeset
|
2 Copyright (C) 1985, 1986 Free Software Foundation, Inc. |
cad59a0a3b19
Add license information from Marcus Thiessel.
Jerry James <james@xemacs.org>
parents:
4759
diff
changeset
|
3 |
cad59a0a3b19
Add license information from Marcus Thiessel.
Jerry James <james@xemacs.org>
parents:
4759
diff
changeset
|
4 This file is part of XEmacs. |
cad59a0a3b19
Add license information from Marcus Thiessel.
Jerry James <james@xemacs.org>
parents:
4759
diff
changeset
|
5 |
cad59a0a3b19
Add license information from Marcus Thiessel.
Jerry James <james@xemacs.org>
parents:
4759
diff
changeset
|
6 XEmacs is free software; you can redistribute it and/or modify |
cad59a0a3b19
Add license information from Marcus Thiessel.
Jerry James <james@xemacs.org>
parents:
4759
diff
changeset
|
7 it under the terms of the GNU General Public License as published by |
cad59a0a3b19
Add license information from Marcus Thiessel.
Jerry James <james@xemacs.org>
parents:
4759
diff
changeset
|
8 the Free Software Foundation; either version 2, or (at your option) |
cad59a0a3b19
Add license information from Marcus Thiessel.
Jerry James <james@xemacs.org>
parents:
4759
diff
changeset
|
9 any later version. |
269 | 10 |
5008
cad59a0a3b19
Add license information from Marcus Thiessel.
Jerry James <james@xemacs.org>
parents:
4759
diff
changeset
|
11 XEmacs is distributed in the hope that it will be useful, |
cad59a0a3b19
Add license information from Marcus Thiessel.
Jerry James <james@xemacs.org>
parents:
4759
diff
changeset
|
12 but WITHOUT ANY WARRANTY; without even the implied warranty of |
cad59a0a3b19
Add license information from Marcus Thiessel.
Jerry James <james@xemacs.org>
parents:
4759
diff
changeset
|
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
cad59a0a3b19
Add license information from Marcus Thiessel.
Jerry James <james@xemacs.org>
parents:
4759
diff
changeset
|
14 GNU General Public License for more details. |
cad59a0a3b19
Add license information from Marcus Thiessel.
Jerry James <james@xemacs.org>
parents:
4759
diff
changeset
|
15 |
cad59a0a3b19
Add license information from Marcus Thiessel.
Jerry James <james@xemacs.org>
parents:
4759
diff
changeset
|
16 You should have received a copy of the GNU General Public License |
cad59a0a3b19
Add license information from Marcus Thiessel.
Jerry James <james@xemacs.org>
parents:
4759
diff
changeset
|
17 along with XEmacs; see the file COPYING. If not, write to |
5231
ba07c880114a
Fix up FSF's Franklin Street address in many files.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5008
diff
changeset
|
18 the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, |
5008
cad59a0a3b19
Add license information from Marcus Thiessel.
Jerry James <james@xemacs.org>
parents:
4759
diff
changeset
|
19 Boston, MA 02110-1301, USA. */ |
cad59a0a3b19
Add license information from Marcus Thiessel.
Jerry James <james@xemacs.org>
parents:
4759
diff
changeset
|
20 |
cad59a0a3b19
Add license information from Marcus Thiessel.
Jerry James <james@xemacs.org>
parents:
4759
diff
changeset
|
21 /* Synched up with: FSF 19.31. */ |
269 | 22 |
23 #define ORDINARY_LINK | |
24 | |
25 /* XEmacs change */ | |
26 #define HPUX_USE_SHLIBS | |
27 | |
28 /* XEmacs: */ | |
29 /* Don't tell the linker to link statically */ | |
30 #ifdef NOT_C_CODE | |
31 #define START_FILES | |
32 #define LINKER "$(CC)" | |
33 #endif /* THIS IS YMAKEFILE */ | |
34 | |
35 /* get call to brk() when rerunning XEmacs */ | |
36 #define RUN_TIME_REMAP | |
37 | |
38 #include "hpux11.h" | |
39 | |
40 /* We must turn off -g since it forces -static. */ | |
41 #ifdef __GNUC__ | |
42 #undef C_DEBUG_SWITCH | |
43 #define C_DEBUG_SWITCH | |
44 #endif |