octave-maintainers
[Top][All Lists]
Advanced

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

Re: Where have oct-dlldefs.h gone?


From: John W. Eaton
Subject: Re: Where have oct-dlldefs.h gone?
Date: Wed, 10 Feb 2010 15:31:16 -0500

On  8-Feb-2010, S ren Hauberg wrote:

| man, 08 02 2010 kl. 15:51 -0500, skrev John W. Eaton:
| > On  8-Feb-2010, S ren Hauberg wrote:
| > 
| > | Hi All
| > | 
| > | I've been trying to compile the Java package with the development
| > | version of Octave. The package #include's "oct-dlldefs.h", but that
| > | header seems to be missing from the development version. So, why was
| > | this removed and what should be included instead?
| > 
| > From the ChangeLog file in the top-level directory:
| > 
| >   2009-09-17  John W. Eaton  <address@hidden>
| > 
| >           * configure.ac: Also AC_DEFINE OCTAAVE_IDX_TYPE.
| >           (AH_BOTTOM): Include contents of libcruft/misc/oct-dlldefs.h and
| >           liboctave/oct-types.h here.  Use C-style comments.
| >           (AC_CONFIG_FILES): Remove liboctave/oct-types.h from the list.
| > 
| > so the contents of oct-dlldefs.h should be in the config.h file now.
| 
| Ahh, I see. Thanks for pointing this out (to be honest I don't really
| understand the contents of the ChangeLog entry, but I guess that is to
| be expected as I don't speak auto[conf|tools|*]).
| 
| What is the recommended way to support several Octave versions in file
| then? Something like
| 
|         #include <octave/config.h>
|         #ifndef OCTAVE_EXPORT
|         #include <octave/oct-dlldefs.h>
|         #endif // OCTAVE_EXPORT

I guess this would be OK, but maybe we need to bring the oct-dlldefs.h
file back?

Or, even if we don't, I think we do need to look at the problem of
exactly what information that is currently in config.h should really
be installed, and install that in a file that is not called config.h.

jwe


reply via email to

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