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

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

[Octave-bug-tracker] [bug #65425] compile attribute errors


From: anonymous
Subject: [Octave-bug-tracker] [bug #65425] compile attribute errors
Date: Wed, 6 Mar 2024 16:29:47 -0500 (EST)

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

                 Summary: compile attribute errors
                   Group: GNU Octave
               Submitter: None
               Submitted: Wed 06 Mar 2024 09:29:47 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: GNU/Linux
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 06 Mar 2024 09:29:47 PM UTC By: Anonymous

  CXX      libinterp/dldfcn/__delaunayn___la-__delaunayn__.lo
In file included from ../libinterp/dldfcn/__delaunayn__.cc:53:
In file included from ../liboctave/array/Array.h:41:
../liboctave/util/lo-error.h:58:1: error: an attribute list cannot appear
here
OCTAVE_NORETURN extern OCTAVE_API liboctave_error_handler
^~~~~~~~~~~~~~~
./oct-conf-post-public.h:64:31: note: expanded from macro 'OCTAVE_NORETURN'
#      define OCTAVE_NORETURN [[noreturn]]
                              ^~~~~~~~~~~~
In file included from ../libinterp/dldfcn/__delaunayn__.cc:53:
In file included from ../liboctave/array/Array.h:41:
../liboctave/util/lo-error.h:62:1: error: an attribute list cannot appear
here
OCTAVE_NORETURN extern OCTAVE_API liboctave_error_with_id_handler
^~~~~~~~~~~~~~~
./oct-conf-post-public.h:64:31: note: expanded from macro 'OCTAVE_NORETURN'
#      define OCTAVE_NORETURN [[noreturn]]
                              ^~~~~~~~~~~~
In file included from ../libinterp/dldfcn/__delaunayn__.cc:53:
In file included from ../liboctave/array/Array.h:41:
../liboctave/util/lo-error.h:73:30: error: 'noreturn' attribute only applies
to functions
set_liboctave_error_handler (OCTAVE_NORETURN liboctave_error_handler f);
                             ^
./oct-conf-post-public.h:64:33: note: expanded from macro 'OCTAVE_NORETURN'
#      define OCTAVE_NORETURN [[noreturn]]
                                ^
In file included from ../libinterp/dldfcn/__delaunayn__.cc:53:
In file included from ../liboctave/array/Array.h:41:
../liboctave/util/lo-error.h:76:38: error: 'noreturn' attribute only applies
to functions
set_liboctave_error_with_id_handler (OCTAVE_NORETURN
liboctave_error_with_id_handler f);
                                     ^
./oct-conf-post-public.h:64:33: note: expanded from macro 'OCTAVE_NORETURN'
#      define OCTAVE_NORETURN [[noreturn]]
                                ^
4 errors generated.









    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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