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

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

[Octave-bug-tracker] [bug #57092] Build fails due to OCTAVE_DEPRECATED m


From: Lars Kindermann
Subject: [Octave-bug-tracker] [bug #57092] Build fails due to OCTAVE_DEPRECATED macro
Date: Mon, 21 Oct 2019 01:10:46 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0

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

                 Summary: Build fails due to OCTAVE_DEPRECATED macro
                 Project: GNU Octave
            Submitted by: larskindermann
            Submitted on: Mon 21 Oct 2019 05:10:43 AM UTC
                Category: Configuration and Build System
                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: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

On Ubuntu 16.04 with freshly cloned repository
build fails with this error:


  ...
  LEX      libinterp/parse-tree/lex.cc
  CXX     
libinterp/parse-tree/libinterp_parse_tree_libparse_tree_la-oct-lvalue.lo
  CXX     
libinterp/parse-tree/libinterp_parse_tree_libparse_tree_la-oct-parse.lo
In file included from ./config.h:2833:0,
                 from src/main-cli.cc:24:
./oct-conf-post.h:36:41: error: expected ‘}’ before ‘__attribute__’
 #    define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__ ("["
#ver "]: " msg)))
                                         ^
./liboctave/util/quit.h:204:3: note: in expansion of macro
‘OCTAVE_DEPRECATED’
   OCTAVE_DEPRECATED (6, "the 'octave_no_exception' enum value is an obsolete
internal value; any uses should be removed")
   ^
In file included from ./liboctave/util/lo-utils.h:35:0,
                 from ./liboctave/array/Array.h:41,
                 from ./liboctave/util/str-vec.h:32,
                 from libinterp/octave.h:31,
                 from src/main-cli.cc:39:
./liboctave/util/quit.h:205:3: error: expected unqualified-id before ‘=’
token
   = 0,
   ^
./liboctave/util/quit.h:303:1: error: expected declaration before ‘}’
token
 }
 ^
Makefile:23662: die Regel für Ziel „src/src_octave_cli-main-cli.o“
scheiterte








    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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