mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-03 13:20: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>
|
2008-06-28 Ludovic Courtès <ludo@gnu.org>
|
||||||
|
|
||||||
* Makefile.am (INCLUDES): Renamed to...
|
* Makefile.am (INCLUDES): Renamed to...
|
||||||
|
|
|
@ -101,9 +101,9 @@
|
||||||
* as having "internal" linkage. */
|
* as having "internal" linkage. */
|
||||||
#if (defined __GNUC__) && \
|
#if (defined __GNUC__) && \
|
||||||
((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ == 3))
|
((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ == 3))
|
||||||
# define SCM_INTERNAL __attribute__ ((__visibility__ ("internal")))
|
# define SCM_INTERNAL extern __attribute__ ((__visibility__ ("internal")))
|
||||||
#else
|
#else
|
||||||
# define SCM_INTERNAL
|
# define SCM_INTERNAL extern
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue