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

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

[Octave-bug-tracker] [bug #49131] compilation warning in getopt-wrapper.


From: anonymous
Subject: [Octave-bug-tracker] [bug #49131] compilation warning in getopt-wrapper.cc
Date: Mon, 19 Sep 2016 18:41:40 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0

URL:
  <http://savannah.gnu.org/bugs/?49131>

                 Summary: compilation warning in getopt-wrapper.cc
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 19 Sep 2016 06:41:38 PM UTC
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The following warning occurs with current dev versions:
- gcc 4.9.3, x86_64-pc-linux-gnu, RHEL 6.8


../octave/liboctave/wrappers/getopt-wrapper.c: In function
'octave_getopt_long_wrapper':
../octave/liboctave/wrappers/getopt-wrapper.c:98:35: warning: passing argument
2 of 'rpl_getopt_long' discards 'const' qualifier from pointer target type
   int retval = getopt_long (argc, argv, shortopts, lopts, longind);
                                   ^
In file included from ../octave/liboctave/wrappers/getopt-wrapper.c:34:0:
./config.h:3261:25: note: expected 'char **' but argument is of type 'char *
const*'
 #define __GETOPT_PREFIX rpl_





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49131>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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