Skip to content

GCC build broken #1

Description

@dj2

Building with clang works correctly, GCC, not so much.

  • libdawn.cpp fails to find wgpu symbols (e.g. wgpuRenderPassEncoderSetPipeline)
  • Deprecated copy warning from assigning backbufferView [1] (examples 4 and 5)

1:

src/example_04/main.cc:319:25: error: implicitly-declared ‘wgpu::TextureView& wgpu::TextureView::operator=(const wgpu::TextureView&)’ is deprecated [-Werror=deprecated-copy]
  319 |       attachment.view = backbufferView;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions