bugGNU Octave - Bugs: bug #41279, Issue with "matrix.h" in...

 
 

bug #41279: Issue with "matrix.h" in mex-source files

Submitted by:  None
Submitted on:  Sun 19 Jan 2014 02:31:49 PM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: Wont FixAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.0
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 19 Jan 2014 03:05:28 PM UTC, comment #2:

Matrix.h is not a file "internal" to Octave. It's also used to compile people's oct files, so removing it would break existing user oct files.

The fix is simple: remove the include. It will also compile on Matlab without it.

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
Sun 19 Jan 2014 02:34:47 PM UTC, comment #1:

As a work-around, I created an empty matrix.h in the same directory, so that will get used first. Seems to compile fine, but still need to test.

Anonymous
Sun 19 Jan 2014 02:31:49 PM UTC, original submission:

Dear all,
I can't compile the mex files for the Wavelab package from http://statweb.stanford.edu/~wavelab/Wavelab_850/download.html.

The problem is the following:
Some files start with:

and the inclusion of matrix.h leads to an compile error.
I read in the Octave documentation, that there is some difference on purpose between Matlab and Octave regarding the Matrix.h file, but can't the file that internally belongs to Octave be renamed, so that mex-files can stay source-code-compatible with Matlab?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jordigh (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 19 Jan 2014 03:05:28 PM UTCjordighStatusNone=>Wont Fix
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1