diff options
| author | Paul Eggert | 2017-06-13 18:19:30 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-06-13 18:20:07 -0700 |
| commit | 27bb4de72bedaa5fdecae24069ea7db1cfd0b5d4 (patch) | |
| tree | a486e05371d45dbc76376bcefc64aceff6485b8d /INSTALL | |
| parent | 510a67428071ef06375c75506bdc6afa151f4c91 (diff) | |
| download | emacs-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-- | INSTALL | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -322,8 +322,9 @@ typical 32-bit host, Emacs integers have 62 bits instead of 30. | |||
| 322 | 322 | ||
| 323 | Use --with-cairo to compile Emacs with Cairo drawing. | 323 | Use --with-cairo to compile Emacs with Cairo drawing. |
| 324 | 324 | ||
| 325 | Use --with-modules to build Emacs with support for loading dynamic | 325 | Use --with-modules to build Emacs with support for dynamic modules. |
| 326 | modules. | 326 | This needs a C compiler that supports '__attribute__ ((cleanup (...)))', |
| 327 | as in GCC 3.4 and later. | ||
| 327 | 328 | ||
| 328 | Use --enable-gcc-warnings to enable compile-time checks that warn | 329 | Use --enable-gcc-warnings to enable compile-time checks that warn |
| 329 | about possibly-questionable C code. This is intended for developers | 330 | about possibly-questionable C code. This is intended for developers |