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 specs line endings #12

Merged
merged 1 commit into from
Sep 8, 2024

Conversation

rickertm
Copy link
Contributor

@rickertm rickertm commented Sep 8, 2024

On Windows with Git core.autocrlf enabled, the compilation fails with the following errors, as the files in the spec folder (enumglu.spec and glu.spec) have incorrect line endings (CR LF vs LF):

C:\superglu\libtess\tess.c(168): warning C4013: 'gluTessBeginPolygon' undefined; assuming extern returning int
C:\superglu\libtess\tess.c(172): warning C4013: 'gluTessBeginContour' undefined; assuming extern returning int
C:\superglu\libtess\tess.c(181): warning C4013: 'gluTessEndContour' undefined; assuming extern returning int
C:\superglu\libtess\tess.c(466): error C2371: 'gluTessBeginPolygon': redefinition; different basic types
C:\superglu\libtess\tess.c(480): error C2371: 'gluTessBeginContour': redefinition; different basic types
C:\superglu\libtess\tess.c(497): error C2371: 'gluTessEndContour': redefinition; different basic types

@VolkerEnderlein VolkerEnderlein merged commit d3e96a6 into coin3d:master Sep 8, 2024
2 checks passed
@rickertm rickertm deleted the patch-specs branch September 13, 2024 17:11
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