Guile configuration changes for OS X. Compilation of guile wrappers currently generates a *LOT* of
warning messages of the form: warning: invalid conversion from ` scm_unused_struct*(*)()' to `scm_unused_struct*(*)(...)' I've messed around with it and haven't been able silence the warning from any combination of macros, casts, helper functions, compiler flags, linkage directives, or other tricks. Possible gcc-3.3 bug???? git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a07b071331
commit
39b6c3632c
1 changed files with 6 additions and 0 deletions
|
|
@ -249,6 +249,12 @@ case $host in
|
||||||
*) TCL_SO=$SO;;
|
*) TCL_SO=$SO;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
AC_SUBST(GUILE_SO)
|
||||||
|
case $host in
|
||||||
|
*-*-darwin*) GUILE_SO=.so;;
|
||||||
|
*) GUILE_SO=$SO;;
|
||||||
|
esac
|
||||||
|
|
||||||
AC_SUBST(TCL_LDSHARED)
|
AC_SUBST(TCL_LDSHARED)
|
||||||
case $host in
|
case $host in
|
||||||
*-*-darwin*) TCL_LDSHARED="gcc -dynamiclib -flat_namespace -undefined suppress";;
|
*-*-darwin*) TCL_LDSHARED="gcc -dynamiclib -flat_namespace -undefined suppress";;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue