octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: safer way to use gnulib


From: John W. Eaton
Subject: Re: safer way to use gnulib
Date: Tue, 16 Mar 2010 09:11:47 -0400

On 16-Mar-2010, Ben Abbott wrote:

| On Tuesday, March 16, 2010, at 08:24AM, "John W. Eaton" <address@hidden> 
wrote:
| >Will you please add -save-temps to the command libtool uses for
| >compiling ODES.cc and send the resulting ODES.ii file to me?
| >
| >Thanks,
| >
| >jwe
| 
| It is attached.

OK, will you please try making the following change to the
gnulib/build-aux/warn-on-use.h file and then compiling again?  I think
you'll need to run autogen.sh and configure again after making this
change.  But you can save time by just rerunning the commands to
compile ODES.cc after doing that and see if it works.

Thanks,

jwe

diff --git a/build-aux/warn-on-use.h b/build-aux/warn-on-use.h
index d33cfe6..4af106f 100644
--- a/build-aux/warn-on-use.h
+++ b/build-aux/warn-on-use.h
@@ -87,6 +87,6 @@ extern rettype function parameters_and_attributes \
      __attribute__ ((__warning__ (msg)))
 # else /* Unsupported.  */
 #  define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \
-extern int _gl_warn_on_use
+_GL_EXTERN_C int _gl_warn_on_use
 # endif
 #endif

reply via email to

[Prev in Thread] Current Thread [Next in Thread]