Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest egui file_dialog compiles with warning #5207

Closed
Resonanz opened this issue Oct 2, 2024 · 1 comment · May be fixed by #5157
Closed

Latest egui file_dialog compiles with warning #5207

Resonanz opened this issue Oct 2, 2024 · 1 comment · May be fixed by #5157
Labels
bug Something is broken

Comments

@Resonanz
Copy link

Resonanz commented Oct 2, 2024

Ubuntu 24.04, running Wayland, rustc 1.81, latest egui 29.1.

After solving #5205 (comment) sudo apt install libgtk-3-dev, egui's example file_dialog compiled with the following warning...

(Unfortunately file_dialog's drag-and-drop capability does not work with Ubuntu 24.04 Wayland.)

cargo run --release -p file_dialog
warning: struct `DummyStorage` is never constructed
   --> crates/eframe/src/epi.rs:803:19
    |
803 | pub(crate) struct DummyStorage {}
    |                   ^^^^^^^^^^^^
    |
    = note: `DummyStorage` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis
    = note: `#[warn(dead_code)]` on by default

warning: `eframe` (lib) generated 1 warning
    Finished `release` profile [optimized] target(s) in 0.50s
     Running `target/release/file_dialog`
@Resonanz Resonanz added the bug Something is broken label Oct 2, 2024
@emilk
Copy link
Owner

emilk commented Oct 2, 2024

This is just a warning in newer rustc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants