octave-maintainers
[Top][All Lists]
Advanced

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

Re: MacOS: error: no matching function for call to 'objc_msgSend'


From: Benjamin Abbott
Subject: Re: MacOS: error: no matching function for call to 'objc_msgSend'
Date: Thu, 6 Feb 2020 07:47:26 -0800

> On Feb 6, 2020, at 3:02 AM, Andrew Janke <address@hidden> wrote:
> 
> On 2/1/20 12:13 AM, Benjamin Abbott wrote:
>> Andrew,
>> 
>> I’ve just upgraded to MacOS 10.15.3.
>> 
>> After upgrading Homebew, I now see the error below. It looks to me like this 
>> was introduced in changeset 27624. Have you upgraded to Catalina yet?
>> 
>> Ben  
>> 
>> libtool: compile:  g++ -std=gnu++11 -DHAVE_CONFIG_H -I. 
>> -I/usr/local/opt/freetype/include/freetype2 
>> -I/usr/local/Cellar/fontconfig/2.13.1/include 
>> -I/usr/local/opt/freetype/include/freetype2 
>> -I/usr/local/Cellar/qt/5.14.1/lib/QtNetwork.framework/Headers 
>> -I/usr/local/Cellar/qt/5.14.1/lib/QtPrintSupport.framework/Headers 
>> -I/usr/local/Cellar/qt/5.14.1/lib/QtHelp.framework/Headers 
>> -I/usr/local/Cellar/qt/5.14.1/lib/QtWidgets.framework/Headers 
>> -I/usr/local/Cellar/qt/5.14.1/lib/QtGui.framework/Headers 
>> -I/usr/local/Cellar/qt/5.14.1/lib/QtSql.framework/Headers 
>> -I/usr/local/Cellar/qt/5.14.1/lib/QtXml.framework/Headers 
>> -I/usr/local/Cellar/qt/5.14.1/lib/QtCore.framework/Headers 
>> -I./libgui/qterminal/libqterminal -Ilibgui/src -I./libgui/src 
>> -Ilibgui/graphics -I./libgui/graphics -I./libgui/src/m-editor -Iliboctave 
>> -I./liboctave/array -Iliboctave/numeric -I./liboctave/numeric 
>> -Iliboctave/operators -I./liboctave/operators -I./liboctave/system 
>> -I./liboctave/util -Ilibinterp -I./libinterp -Ilibinterp/parse-tree 
>> -I./libinterp/parse-tree -Ilibinterp/corefcn -I./libinterp/corefcn 
>> -I./libinterp/octave-value -I./liboctave/wrappers 
>> -I/usr/local/opt/readline/include -I/usr/local/opt/sqlite/include 
>> -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include 
>> -I/usr/local/opt/icu4c/include -I/usr/local/opt/qt5/include 
>> -I/usr/local/opt/sundials27/include -I/usr/local/opt/zlib/include -fPIC 
>> -D_THREAD_SAFE -pthread -Wall -W -Wshadow -Woverloaded-virtual 
>> -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align 
>> -Wcast-qual -g -O2 -MT libgui/src/libgui_src_la-octave-qobject.lo -MD -MP 
>> -MF libgui/src/.deps/libgui_src_la-octave-qobject.Tpo -c 
>> libgui/src/octave-qobject.cc  -fno-common -DPIC -o 
>> libgui/src/.libs/libgui_src_la-octave-qobject.o
>> libgui/src/octave-qobject.cc:91:18: error: no matching function for call to 
>> 'objc_msgSend'
>>  process_info = objc_msgSend (reinterpret_cast<id> (process_info_class),
>>                 ^~~~~~~~~~~~
>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1:
>>  note: candidate function not viable: requires 0 arguments, but 2
>>      were provided
>> objc_msgSend(void /* id self, SEL op, ... */ )
>> ^
>> libgui/src/octave-qobject.cc:96:19: error: no matching function for call to 
>> 'objc_msgSend'
>>  reason_string = objc_msgSend (reinterpret_cast<id> (objc_getClass 
>> ("NSString")),
>>                  ^~~~~~~~~~~~
>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1:
>>  note: candidate function not viable: requires 0 arguments, but 2
>>      were provided
>> objc_msgSend(void /* id self, SEL op, ... */ )
>> ^
>> libgui/src/octave-qobject.cc:98:19: error: no matching function for call to 
>> 'objc_msgSend'
>>  reason_string = objc_msgSend (reason_string,
>>                  ^~~~~~~~~~~~
>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1:
>>  note: candidate function not viable: requires 0 arguments, but 3
>>      were provided
>> objc_msgSend(void /* id self, SEL op, ... */ )
>> ^
>> libgui/src/octave-qobject.cc:105:34: error: no matching function for call to 
>> 'objc_msgSend'
>>  osx_latencycritical_activity = objc_msgSend (process_info,
>>                                 ^~~~~~~~~~~~
>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1:
>>  note: candidate function not viable: requires 0 arguments, but 4
>>      were provided
>> objc_msgSend(void /* id self, SEL op, ... */ )
>> 
> 
> Hi Ben,
> 
> I have a Catalina VM now, and I can reproduce your error. (I can
> reproduce it on 10.14 Mojave too now, surprisingly.)
> 
> Patch submitted:
> https://savannah.gnu.org/bugs/index.php?57754
> 
> Cheers,
> Andrew

Hi Andrew,

I’ve applied the patch and built on Catalina.

Thanks.
Ben




reply via email to

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