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

Clang 13 less warnings #1684

Open
wants to merge 28 commits into
base: dev
Choose a base branch
from

Conversation

charlesfleche
Copy link
Contributor

Description of Change(s)

Trying to compile USD with clang 13 raised a few new warnings. This PR fixes most of them. I tried to group the fixes for a given warning as much as possible for easier cherry-picking.

Fixes Issue(s)

@charlesfleche charlesfleche changed the base branch from release to dev November 14, 2021 20:41
@jilliene
Copy link

Filed as internal issue #USD-7025

@charlesfleche charlesfleche changed the title Clang 13 no warning Clang 13 less warnings Nov 20, 2021
pixar-oss pushed a commit that referenced this pull request Feb 16, 2023
These were flagged as warnings by clang 13 since the other
virtual functions in these classes were marked as overrides.

This is part of PR #1684 from @charlesfleche

(Internal change: 2262989)
pixar-oss pushed a commit that referenced this pull request Feb 16, 2023
This was flagged as a warning by clang 13.

This is part of PR #1684 from @charlesfleche

(Internal change: 2263052)
pixar-oss pushed a commit that referenced this pull request Feb 16, 2023
This is part of PR #1684 from @charlesfleche

(Internal change: 2263141)
pixar-oss pushed a commit that referenced this pull request Mar 2, 2023
This fixes memory leaks in usdDraco due to deleting derived
class via a base class pointer.

This is part of PR #1684 from @charlesfleche

(Internal change: 2263942)
pixar-oss pushed a commit that referenced this pull request Mar 14, 2023
This change guards unused private members that exist purely
for ABI compatibility between USD builds with and without
Python support enabled (see #1716) with a new pragma to
disable warnings on clang.

Part of PR #1684 from @charlesfleche

(Internal change: 2265598)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants