[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53099] mkoctfile does not accept -O2

From: Mike Miller
Subject: [Octave-bug-tracker] [bug #53099] mkoctfile does not accept -O2
Date: Sun, 11 Feb 2018 17:41:36 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0

Follow-up Comment #8, bug #53099 (project octave):

Doesn't #2 require parsing argv twice, or some kind of lookahead? Or do you
mean only that the compound option is not using the last argument on the argv

I worry that there are far more useful unknown options that don't take
arguments than there are unknown options that do take non-file arguments.
Adding support for -O* is just a band-aid.

Example 1: mkoctfile -g -pg one.cc two.cc three.cc

This should treat "-g -pg" as options, and compile each of one.cc, two.cc, and

Example 2: mkoctfile -isystem /usr/local/include one.cc

This should treat "-isystem /usr/local/include" as an option and compile


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]