aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorPaul Eggert2017-06-13 18:19:30 -0700
committerPaul Eggert2017-06-13 18:20:07 -0700
commit27bb4de72bedaa5fdecae24069ea7db1cfd0b5d4 (patch)
treea486e05371d45dbc76376bcefc64aceff6485b8d /INSTALL
parent510a67428071ef06375c75506bdc6afa151f4c91 (diff)
downloademacs-27bb4de72bedaa5fdecae24069ea7db1cfd0b5d4.tar.gz
emacs-27bb4de72bedaa5fdecae24069ea7db1cfd0b5d4.zip
Port cleanup attribute to Oracle Studio 12.5
* INSTALL (--with-modules): List cleanup attribute as prereq. * src/conf_post.h (__has_attribute_cleanup): Remove; no longer needed. * src/emacs-module.c (MODULE_SETJMP_1): Don’t attempt to verify (__has_attribute (cleanup)), as Oracle Studio 12.5 supports __has_attribute only inside preprocessor expressions. The C compiler should check the cleanup attribute in the next line anyway. (module_reset_handlerlist): Remove an unnecessary ‘const’ that causes Oracle Studio 12.5 to refuse to compile.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL5
1 files changed, 3 insertions, 2 deletions
diff --git a/INSTALL b/INSTALL
index a99f1078044..b569cf116c5 100644
--- a/INSTALL
+++ b/INSTALL
@@ -322,8 +322,9 @@ typical 32-bit host, Emacs integers have 62 bits instead of 30.
322 322
323Use --with-cairo to compile Emacs with Cairo drawing. 323Use --with-cairo to compile Emacs with Cairo drawing.
324 324
325Use --with-modules to build Emacs with support for loading dynamic 325Use --with-modules to build Emacs with support for dynamic modules.
326modules. 326This needs a C compiler that supports '__attribute__ ((cleanup (...)))',
327as in GCC 3.4 and later.
327 328
328Use --enable-gcc-warnings to enable compile-time checks that warn 329Use --enable-gcc-warnings to enable compile-time checks that warn
329about possibly-questionable C code. This is intended for developers 330about possibly-questionable C code. This is intended for developers