Re: FInk (inkscape) install errors

a_sk--- via Fink-beginners <[email protected]> Sat, 14 Oct 2023 18:07:43 +0900
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>
Dear Daniel E. Macks,

I do not know what you mean  "older compiler toolchain”. But hopefully use "up-to-date compiler toolchain” in current case.


For your reference, I  tried it again;

(Quote)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libinkscape.a(edit.o) has no symbols
  CXX      dom/cssreader.o
  CXX      dom/domimpl.o
  CXX      dom/domptr.o
  CXX      dom/domstring.o
  CXX      dom/lsimpl.o
  CXX      dom/prop-css2.o
  CXX      dom/prop-css.o
  CXX      dom/prop-svg.o
dom/prop-svg.cpp:69:1: error: type 'const char [54]' cannot be narrowed to 'bool' in initializer list [-Wc++11-narrowing]
"yes (non-additive, 'set' and 'animate' elements only)"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dom/prop-svg.cpp:69:1: note: insert an explicit cast to silence this issue
"yes (non-additive, 'set' and 'animate' elements only)"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
static_cast<bool>(                                     )
dom/prop-svg.cpp:289:1: error: type 'const char [54]' cannot be narrowed to 'bool' in initializer list [-Wc++11-narrowing]
"yes (non-additive, 'set' and 'animate' elements only)"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dom/prop-svg.cpp:289:1: note: insert an explicit cast to silence this issue
"yes (non-additive, 'set' and 'animate' elements only)"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
static_cast<bool>(                                     )
dom/prop-svg.cpp:308:1: error: type 'const char [37]' cannot be narrowed to 'bool' in initializer list [-Wc++11-narrowing]
"yes, the computed value is inherited",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dom/prop-svg.cpp:308:1: note: insert an explicit cast to silence this issue
"yes, the computed value is inherited",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
static_cast<bool>(                    )
dom/prop-svg.cpp:553:1: error: type 'const char [1]' cannot be narrowed to 'bool' in initializer list [-Wc++11-narrowing]
""
^~
dom/prop-svg.cpp:553:1: note: insert an explicit cast to silence this issue
""
^~
static_cast<bool>( )
4 errors generated.
make[2]: *** [dom/prop-svg.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of /usr/bin/make failed, exit code 2
### execution of /tmp/fink.ZYmbU failed, exit code 2
(Unquote)

> 2023/10/13 23:05、Daniel E. Macks <[email protected]>:
> 
> a_sk--- via Fink-beginners <[email protected]> said:
>> 
>> --===============7100867562337561755==
>> Content-Type: multipart/alternative;
>> 	boundary="Apple-Mail=_BF04972E-C6FF-4808-A36F-38EE04AD41EE"
>> 
>> 
>> --Apple-Mail=_BF04972E-C6FF-4808-A36F-38EE04AD41EE
>> Content-Transfer-Encoding: quoted-printable
>> Content-Type: text/plain;
>> 	charset=us-ascii
>> 
>> fink install errors of inkscape-0.48.5-13 (2023.10.03-00.00.48)
>> . . . .
>> 
>> /opt/sw3/include/gtkmm-2.4/gtkmm/table.h:96:11: note: in instantiation =
>> of member function 'Glib::HelperList<Gtk::Table_Helpers::Child, =
>> Gtk::Widget, =
>> Glib::List_Iterator<Gtk::Table_Helpers::Child>>::~HelperList' requested =
>> here
>>  virtual ~TableList() {}
>>          ^
>>  CXX      dom/lsimpl.o
>>  CXX      dom/prop-css2.o
>> 5 warnings generated.
>>  CXX      dom/prop-css.o
>> dom/prop-css2.cpp:1075:1: error: type 'const char [15]' cannot be =
>> narrowed to 'bool' in initializer list [-Wc++11-narrowing]
>> "no (see prose)",
>> ^~~~~~~~~~~~~~~~
> 
> I think I got this fixed in -14. Hard to test, since I cannot
> reproduce it on my older compiler toolchain.
> 
> dan
> 
> 
> 
> _______________________________________________
> Fink-beginners mailing list
> [email protected]
> List archive:
> https://sourceforge.net/p/fink/mailman/fink-users/
> Subscription management:
> https://lists.sourceforge.net/lists/listinfo/fink-beginners

_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners