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

[19.05-RC] Sdf_GetUnitIndices, private method in public header types.h #812

Closed
jcowles opened this issue Apr 7, 2019 · 3 comments
Closed

Comments

@jcowles
Copy link

jcowles commented Apr 7, 2019

Description of Issue

This method (which looks private) is declared in a public header, with no SDF_API guard:
https://github.com/PixarAnimationStudios/USD/blob/v19.05-rc1/pxr/usd/lib/sdf/types.h#L289

This results in the following compiler error on Windows / Visual Studio 2015:

Error	LNK2001	unresolved external symbol "struct std::pair<unsigned int,unsigned int> __cdecl pxrInternal_v0_19__pxrReserved__::Sdf_GetUnitIndices(class pxrInternal_v0_19__pxrReserved__::TfEnum const &)" (?Sdf_GetUnitIndices@pxrInternal_v0_19__pxrReserved__@@YA?AU?$pair@II@std@@AEBVTfEnum@1@@Z)

Package Versions

19.05-RC

@sunyab
Copy link
Contributor

sunyab commented Apr 8, 2019

Hey @jcowles, did this compiler error just start happening for you in 19.05-rc1? It looks like this code has been there for a while. We should definitely remove this from the header, though.

@jilliene
Copy link

jilliene commented Apr 8, 2019

Filed as internal issue #USD-5192

@jcowles
Copy link
Author

jcowles commented Apr 9, 2019

@sunyab Not sure, I skipped from 19.01 to 19.05

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

No branches or pull requests

3 participants