Re: [OctDev] Problem with mkoctfile under VS2008

2008-06-20 Thread Rainey, David
Hello, Thank you for all the comments. I didn't see the attached file with the fix, but I thought I would include the original source file and let you know what I did to fix it. The reason I did not originally include the source is that I wanted to make sure it was not proprietary before I se

Re: [OctDev] Problem with mkoctfile under VS2008

2008-06-20 Thread David Bateman
Jaroslav Hajek wrote: > A correct deduction, apparently. Attached is a trivial fix. > > The fix got dumped by octave-forge's mailing list. Could you send the patch to [EMAIL PROTECTED] in any case as this is a bug in Octave. D. -- David Bateman[EMAIL PROTECTED

Re: [OctDev] Problem with mkoctfile under VS2008

2008-06-20 Thread Jaroslav Hajek
On Fri, Jun 20, 2008 at 9:25 AM, Michael Goffioul <[EMAIL PROTECTED]> wrote: > On Fri, Jun 20, 2008 at 7:12 AM, Jaroslav Hajek <[EMAIL PROTECTED]> wrote: >>> Nowadays it's common of course to use include guards and have each header >>> file include the ones it needs. I was surprised the octave hea

Re: [OctDev] Problem with mkoctfile under VS2008

2008-06-20 Thread Michael Goffioul
On Fri, Jun 20, 2008 at 7:12 AM, Jaroslav Hajek <[EMAIL PROTECTED]> wrote: >> Nowadays it's common of course to use include guards and have each header >> file include the ones it needs. I was surprised the octave header files >> don't work that way. > > They do. Sometimes the dependency is avoide

Re: [OctDev] Problem with mkoctfile under VS2008

2008-06-19 Thread Jaroslav Hajek
On Fri, Jun 20, 2008 at 4:33 AM, James K. Lowden <[EMAIL PROTECTED]> wrote: > Michael Goffioul wrote: >> Anyway, it looks like some other octave header needs >> to be included before MatrixType.h. Try to include >> to see if if changes anything. > > Is that considered a feature, by the way? > No,

Re: [OctDev] Problem with mkoctfile under VS2008

2008-06-19 Thread James K. Lowden
Michael Goffioul wrote: > Anyway, it looks like some other octave header needs > to be included before MatrixType.h. Try to include > to see if if changes anything. Is that considered a feature, by the way? Nowadays it's common of course to use include guards and have each header file include

Re: [OctDev] Problem with mkoctfile under VS2008

2008-06-19 Thread Michael Goffioul
It would help to see the code you're trying to compile. Anyway, it looks like some other octave header needs to be included before MatrixType.h. Try to include to see if if changes anything. Michael. On Thu, Jun 19, 2008 at 9:54 PM, Rainey, David <[EMAIL PROTECTED]> wrote: > Hello, > > > > I ha

[OctDev] Problem with mkoctfile under VS2008

2008-06-19 Thread Rainey, David
Hello, I have been trying to build some MEX files using mkoctfile -mex. I have Visual Studio 2008 Professional installed and I have tried both the regular setup for Octave and the MSVC2008 setup file as well. In each case, for any of the files I try to compile I get one of two sets of errors