-
Notifications
You must be signed in to change notification settings - Fork 561
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
Error: type mismatch with clang10 and 32bit #1198
Comments
Thanks for pointing this out. I'm surprised other compilers are not generating similar errors/warnings on 32-bit systems. These errors are coming from the Hbr branch of the library, which is not actively used in any of the core functionality (and has been discouraged since 3.0). It is still used in some old regression tests and tutorials, so you should be able to avoid these problems by building with -DNO_REGRESSION and -DNO_TUTORIALS. If you do eventually make use of Hbr in your use of OpenSubdiv, though, you will run into this. Hbr can also generate a lot of warnings with newer, more stringent compilers. It's unclear how much future effort we'll put into dealing with issues coming from Hbr. |
Yes, only the regression, example and tutorials are failing. More specifically, failing code using hbr can be found in :- |
Filed as internal issue #OSD-327. |
|
…32bit - Remove unnecessary libs from USE_GL and add required. - Fix build on 32bit ARCHS, upstream issue: PixarAnimationStudios/OpenSubdiv#1198 (comment) - Make options OPENMP (for supported ARCHS) and PTEX default. - EXAMPLES and OPENCL can build together without errors. - Remove NO_GL_TESTS - upstream removed it. - Sort options and pet portclippy. PR: 279472 Approved by: Shane <[email protected]> (maintainer)
I am getting a build failure when using clang10 on a 32bit system. Test system is FreeBSD 12.1 i386
error: assigning to 'OpenSubdiv::v3_4_3::HbrMemStatFunction' (aka 'void (*)(unsigned int)') from incompatible type 'void (*)(unsigned long)': type mismatch at 1st parameter ('size_t' (aka 'unsigned int') vs 'unsigned long')
failed step is -
Full buid log is available here
The text was updated successfully, but these errors were encountered: