3.2.0
Michael Goffioul
michael.goffioul at gmail.com
Wed May 20 16:43:58 CDT 2009
On Wed, May 20, 2009 at 1:56 PM, Jaroslav Hajek <highegg at gmail.com> wrote:
> Fine guess. Cell was still smuggled in by defun.h. While the simplest
> possible workaround is to just split the file into two parts, I think
> that instantiating Array<T> for a bazillion of different pointer types
> just for internal purposes is an useless code bloat anyway. So I
> changed all the arrays to Array<void *> and added reinterpret_cast
> conversions. I also included instantiation of Array<void *> in
> liboctave, as it may be of general interest. Array.cc is no longer
> included in ov-typeinfo.cc. let me know if you find more problems.
Thanks Jaroslav. I really appreciate your support on these issues.
Your solution fixes the problem.
I have attached the remaining patches that make octave compilable
under MSVC. I tried to split them into logical pieces such that it's
easier to discuss them. Some are trivial, others not.
patch_config: some fixes for configure checks
patch_export: missing xxx_API tags to export the required symbols
patch_extern_template: required "extern template" to avoid implicit
template instantiation and duplicate symbols
patch_missing_return: missing return statement
patch_mkstemp: Win32 does not have mkstemp, so I emulated it
with mktemp; this is required as the new help system needs
a working version of mkstemp
patch_pthread: move pthread.h inclusion to the right location
patch_templates: help MSVC to resolve T determination
patch_texi2dvi: MiKTeX (that I use under Win32) has too low default
value for save_size; I searched hard, but couldn't change that using
some config file; this can be kept out octave source tree
patch_volatile: complete version of the fix from John regarding the
problem with volatile variables (discussed earlier today)
support_cpp_scripts: compile C++ versions of mkoctfile, octave-bug
and octave-config; based on non-empty $(EXEEXT); adaptation
of Benjamin's patch
Michael.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_config.diff.bz2
Type: application/x-bzip2
Size: 476 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090520/a809b44e/attachment-0010.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_export.diff.bz2
Type: application/x-bzip2
Size: 2538 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090520/a809b44e/attachment-0011.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_extern_template.diff.bz2
Type: application/x-bzip2
Size: 275 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090520/a809b44e/attachment-0012.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_missing_return.diff.bz2
Type: application/x-bzip2
Size: 263 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090520/a809b44e/attachment-0013.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_mkstemp.diff.bz2
Type: application/x-bzip2
Size: 582 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090520/a809b44e/attachment-0014.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_pthread.diff.bz2
Type: application/x-bzip2
Size: 310 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090520/a809b44e/attachment-0015.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_templates.diff.bz2
Type: application/x-bzip2
Size: 1317 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090520/a809b44e/attachment-0016.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_texi2dvi.diff.bz2
Type: application/x-bzip2
Size: 398 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090520/a809b44e/attachment-0017.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_volatile.diff.bz2
Type: application/x-bzip2
Size: 833 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090520/a809b44e/attachment-0018.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: support_cpp_scripts.bz2
Type: application/x-bzip2
Size: 2137 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090520/a809b44e/attachment-0019.bin
More information about the Octave-maintainers
mailing list