mex.h does not include config.h
Kris Thielemans
kris.thielemans at imperial.ac.uk
Tue May 19 15:01:29 CDT 2009
Hi
When using mex.h, I need to #include "config.h" to get my files to compile
(using Octave 3.0.3). That seems unnecessary (and is definitely not the case
in matlab). Therefore, I recommend to add a #include "config.h" statement to
mex.h.
By the way, I'd also recommend to rename config.h to octave_config.h or
something to avoid name clashes with other configuration settings. That
would break backwards compatibility of course, so maybe you could still
supply config.h that simply includes octave_config.h but never use it
yourself (including in the documentation).
Kris Thielemans
Senior Researcher
Hammersmith Imanet Ltd
Cyclotron Building
Du Cane Road
London W12 0NN
More information about the Bug-octave
mailing list