octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #57396] [octave forge] (ocs) Compilation failu


From: Rafael Laboissiere
Subject: [Octave-bug-tracker] [bug #57396] [octave forge] (ocs) Compilation failure
Date: Thu, 12 Dec 2019 02:21:45 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?57396>

                 Summary: [octave forge] (ocs) Compilation failure
                 Project: GNU Octave
            Submitted by: rlaboiss
            Submitted on: Thu 12 Dec 2019 07:21:44 AM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: other
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Compilation of package ocs fails when -Werror=format-security (the default
when building Debian packages, to avoid uncontrolled format string
vulnerability):


mkoctfile Mshichmanhodgesmosfet.cc
Mshichmanhodgesmosfet.cc: In function ‘void set_parameters(ColumnVector,
string_vector, double*, double*, double*, double*, double*, double*, double*,
double*, double*, double*, double*, double*)’:
Mshichmanhodgesmosfet.cc:108:103: error: format not a string literal and no
format arguments [-Werror=format-security]
  108 |  warning ((string("Mshichmanhodgesmosfet: unknown parameter").append
(parameternames[niter])).c_str ());


Is there a simple way to fix this issue?




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57396>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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