mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-02 13:00:26 +02:00
Fix `SCM_INTERNAL' with GCC 4.3.
This commit is contained in:
parent
e01343d646
commit
bc566d672f
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-07-04 Ludovic Courtès <ludo@gnu.org>
|
||||
|
||||
* __scm.h (SCM_INTERNAL): Add `extern' so that these symbols are
|
||||
not considered as "common" by GCC 4.3. Reported by Patrick
|
||||
Horgan <phorgan1@gmail.com>.
|
||||
|
||||
2008-06-28 Ludovic Courtès <ludo@gnu.org>
|
||||
|
||||
* Makefile.am (INCLUDES): Renamed to...
|
||||
|
|
|
@ -101,9 +101,9 @@
|
|||
* as having "internal" linkage. */
|
||||
#if (defined __GNUC__) && \
|
||||
((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ == 3))
|
||||
# define SCM_INTERNAL __attribute__ ((__visibility__ ("internal")))
|
||||
# define SCM_INTERNAL extern __attribute__ ((__visibility__ ("internal")))
|
||||
#else
|
||||
# define SCM_INTERNAL
|
||||
# define SCM_INTERNAL extern
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue