paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] paparazzi secure datalink compile errors.


From: Chris
Subject: Re: [Paparazzi-devel] paparazzi secure datalink compile errors.
Date: Wed, 13 Jan 2021 19:26:52 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

After reading a little about rust i think the warnings are fixed if we replace

Err(why) => panic!("couldn't write to {}: {}", display, why.description()),

with

Err(why) => panic!("couldn't create {}: {}", display, why.to_string()),

and comment out line 33 "use std::error::Error;"

I haven't tried it yet but the description method will be hard deprecated and must be replaced in order "why" to return a string.

Chris




reply via email to

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