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

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

[Octave-bug-tracker] [bug #53484] Build fail of stable branch octave for


From: Tatsuro MATSUOKA
Subject: [Octave-bug-tracker] [bug #53484] Build fail of stable branch octave for windows on mxe
Date: Wed, 28 Mar 2018 20:08:41 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

Follow-up Comment #7, bug #53484 (project octave):

Thank Mike. I have overlooked -I flag.

And I mis-paste for corefcn/error.h.

corefcn/error.h 


/*

Copyright (C) 1993-2017 John W. Eaton

This file is part of Octave.

Octave is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Octave is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Octave; see the file COPYING.  If not, see
<https://www.gnu.org/licenses/>.

*/

#if ! defined (octave_error_h)
#define octave_error_h 1

#include "octave-config.h"

#include <cstdarg>
#include <string>

#include "unwind-prot.h"

class octave_map;
class octave_value_list;
namespace octave
{
  class execution_exception;
}

#define panic_impossible()                                              \
  panic ("impossible state reached in file '%s' at line %d", __FILE__,
__LINE__)

extern OCTINTERP_API void reset_error_handler (void);

extern OCTINTERP_API int warning_enabled (const std::string& id);

extern OCTINTERP_API octave::execution_exception
make_execution_exception (const char *who);

extern OCTINTERP_API void
vmessage (const char *name, const char *fmt, va_list args);

extern OCTINTERP_API void message (const char *name, const char *fmt, ...);

OCTAVE_DEPRECATED (4.2, "use 'print_usage' or 'verror' instead")
OCTAVE_NORETURN OCTINTERP_API extern
void vusage (const char *fmt, va_list args);

OCTAVE_DEPRECATED (4.2, "use 'print_usage' or 'error' instead")
OCTAVE_NORETURN OCTINTERP_API extern
void usage (const char *fmt, ...);

extern OCTINTERP_API void vwarning (const char *fmt, va_list args);
extern OCTINTERP_API void warning (const char *fmt, ...);

OCTAVE_NORETURN OCTINTERP_API extern
void verror (const char *fmt, va_list args);


I cannot understand why

 error: 'error' was not declared in this scope

is output in compiling libgui/src/documentation-dock-widget.cc.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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