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

Fix compile error C2440 of pcl_visualization on MSVC #1635

Merged
merged 1 commit into from
Jun 18, 2016

Conversation

UnaNancyOwen
Copy link
Member

The pcl_visualization occur compile error C2440 on MSVC. (issue #1634)
This error occurs because that can not directly cast to enum type from double type in MSVC.
It must explicitly cast to int type from double type before cast to enum type.

@albamath
Copy link

On your commit you are changing "≥" to "?" at line 4381 of pcl_visualisation. Is this on purpose or just a matter of encoding?

@UnaNancyOwen
Copy link
Member Author

UnaNancyOwen commented Jun 16, 2016

Oops, It is an unintentional change by encoding.

The pcl_visualization occur compile error C2440 on MSVC.
This error occurs because that can not directly cast to enum type from
double type in MSVC.
It must explicitly cast to int type from double type before cast to enum
type.
@UnaNancyOwen
Copy link
Member Author

I fixed it.

@jspricke jspricke merged commit 783f1ac into PointCloudLibrary:master Jun 18, 2016
@UnaNancyOwen UnaNancyOwen deleted the fix_visualizer branch March 12, 2019 14: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

Successfully merging this pull request may close these issues.

3 participants