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

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

[Octave-bug-tracker] [bug #57938] error: declaration of 'panic' has a di


From: Marius Schamschula
Subject: [Octave-bug-tracker] [bug #57938] error: declaration of 'panic' has a different language linkage
Date: Mon, 2 Mar 2020 08:12:56 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15

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

                 Summary: error: declaration of 'panic' has a different
language linkage
                 Project: GNU Octave
            Submitted by: mschamschula
            Submitted on: Mon 02 Mar 2020 01:12:54 PM 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
                 Release: 5.2.0
         Discussion Lock: Any
        Operating System: Mac OS

    _______________________________________________________

Details:

While building the octave video package 2.0.0 under MacPorts (Mojave), I get
the following error: 


/usr/bin/clang++ -c -I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -fPIC
-I/opt/local/include/octave-5.2.0/octave/..
-I/opt/local/include/octave-5.2.0/octave -I/opt/local/include  -D_THREAD_SAFE
-pthread -pipe -Os -std=c++11 -stdlib=libc++
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64
 -Wall -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk 
-I/opt/local/include  -DPACKAGE_NAME="Octave-Forge video package"
-DPACKAGE_TARNAME="octave-forge-video-package" -DPACKAGE_VERSION="2.0.0"
-DPACKAGE_STRING="Octave-Forge video package 2.0.0" -DPACKAGE_BUGREPORT=""
-DPACKAGE_URL="" cap_ffmpeg_wrapper.cc -o
/opt/local/var/macports/build/_Users_marius_Development_MacPorts_ports_math_octave-video/octave-video/work/.tmp/oct-uhPe64.o
In file included from cap_ffmpeg_wrapper.cc:18:
In file included from ./cap_ffmpeg_impl_ov.hpp:139:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/mach/mach.h:86:33:
error: declaration of 'panic' has a different language linkage
extern void                     panic(const char *, ...);
                                ^
/opt/local/include/octave-5.2.0/octave/error.h:134:6: note: previous
declaration is here
void panic (const char *fmt, ...);
     ^
1 error generated.
make: *** [cap_ffmpeg_wrapper.oct] Error 1

pkg: error running `make' for the video package.


Full log attached.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 02 Mar 2020 01:12:54 PM UTC  Name: octave-video-main.log  Size:
959KiB   By: mschamschula

<http://savannah.gnu.org/bugs/download.php?file_id=48532>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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