You are not logged in.

#1 2022-11-11 16:25:10

fish_monster
Member
Registered: 2022-02-21
Posts: 15

Dynamic Exception When Installing scscp

As noted in the comments here, during the makepkg process dynamic exceptions get thrown. I am quite new to Arch, so I do not know how to implement the help feynhat gave:

One quick work around is to specfy the gcc version to be 10 (or lower) while makeing,

make CC=gcc-10 CPP=g++-10 CXX=g++-10 LD=g++-10.

Example of a warning:

../srcxx/scscpxx.h:962:76: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  962 | leted(const char* openmathbuffer=NULL, size_t lenbuffer=0)  throw (Exception) ;
      |                                                             ^~~~~

Also, will this exception impact the program in any way in its functionality?

Offline

#2 2022-11-11 16:31:44

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,496
Website

Re: Dynamic Exception When Installing scscp

fish_monster wrote:

I am quite new to Arch, so I do not know how to implement the help feynhat gave

Why are you trying to implement it then?  You're not the maintainer are you?  The package builds just fine as is - these are warnings about a deprecated feature*.  These should be fixed because they may prevent the software from compiling properly in the future, but it's fine for now.

*and the current PKGBUILD overrides CXXFLAGS to there is no -Werror.

Last edited by Trilby (2022-11-11 16:35:07)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2022-11-11 16:32:59

fish_monster
Member
Registered: 2022-02-21
Posts: 15

Re: Dynamic Exception When Installing scscp

Sorry, implement is a bad choice of words. "use it" would suit it more.

I just need it to work.

Last edited by fish_monster (2022-11-11 16:33:13)

Offline

#4 2022-11-11 16:35:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,496
Website

Re: Dynamic Exception When Installing scscp

Like I said, it works as is.  What is your actual problem?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2022-11-11 16:37:31

fish_monster
Member
Registered: 2022-02-21
Posts: 15

Re: Dynamic Exception When Installing scscp

Thank you! I'd simply like to understand what is going on, i.e. what the warning means, what the issue might be (in the future) etc.

Offline

#6 2022-11-11 16:42:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,496
Website

Re: Dynamic Exception When Installing scscp


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB