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

[mayaUsdUI] replace #pragma once with #ifndef include guards #750

Conversation

mattyjams
Copy link
Contributor

We're finally getting our VFX platform 2019 and Maya 2020+ builds into a place where we're able to build the UI components of maya-usd, but I ended up tripping over the #pragma once directives being used there. I'm not sure exactly what the specific difference in setup is between our build internally and the CMake build, but since we landed on include guards being preferred to #pragma once in the coding guidelines, I just converted all of the headers in mayaUsdUI.

@kxl-adsk kxl-adsk requested a review from seando-adsk August 27, 2020 23:06
@kxl-adsk kxl-adsk added the import-export Related to Import and/or Export label Aug 27, 2020
Copy link
Collaborator

@seando-adsk seando-adsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good. Thanks.

@kxl-adsk kxl-adsk merged commit 1ae71ed into Autodesk:dev Aug 28, 2020
@mattyjams mattyjams deleted the pr/replace_mayaUsdUI_pragma_once_with_include_guards branch August 28, 2020 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
import-export Related to Import and/or Export
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants