bugGNU Octave - Bugs: bug #54112, mkoctfile confused by -fFOO...

 
 

bug #54112: mkoctfile confused by -fFOO compiler flag

Submitted by:  S├ębastien Villemot <svillemot>
Submitted on:  Wed 13 Jun 2018 01:44:36 PM UTC  
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  4.4.0 Operating System:  GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 13 Jun 2018 05:04:56 PM UTC, comment #1:

I think this is another symptom of bug #53099. A change was made in mkoctfile (https://hg.savannah.gnu.org/hgweb/octave/rev/298c6a6bd869) to try to treat unknown options as having optional arguments. But that breaks exactly this kind of use case, where an unknown option is followed by more than one source file.

It would be helpful if mkoctfile supported the '--' feature to separate options from arguments, but that also doesn't work here. The only workaround at this point is to add unknown options before known options, or add an unnecessary '-v' or redundant '-g' option after unknown options.

Mike Miller <mtmiller>
Project Administrator
Wed 13 Jun 2018 01:44:36 PM UTC, original submission:

With Octave 4.4, when trying to compile to compile two C++ source files into a single .oct file, and adding a compilation flag starting with "-f", I get an error:

The problem does not appear with a compilation flag starting with "-W".

Also, this is a regression compared to Octave 4.2.

S├ębastien Villemot <svillemot>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by svillemot (Submitted the item)
  •  

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

    Only project members can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-13 mtmiller Dependencies- => Depends on bugs #53099
    2018-06-13 mtmiller StatusNone => Duplicate
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.3