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

Re: [Debian-med-packaging] C++ help needed for yellyfish: "error: catching polymorphic type"



Am Montag, den 03.09.2018, 09:18 +0200 schrieb Andreas Tille:
> Hi,
> 
> I'm trying to build the latest version of jellyfish which I pushed to
> Salsa[1].  Unfortunately I'm running into

You can just catch by reference 

  catch(MergeError& e)

This is the better approach anyway: 
https://blog.knatten.org/2010/04/02/always-catch-exceptions-by-referenc
e/

best, 
Gert 


Reply to: