This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Cannot build ftgl-2.1.3~rc5


Tatsuro MATSUOKA wrote on 19 September 2008 08:50:

> Hello
> 
> I could not  build ftgl-2.1.3~rc5.

> FTVectoriser.cpp: In member function 'void
> FTVectoriser::MakeMesh(FTGL_DOUBLE, int, float)': FTVectoriser.cpp:275:
> error: invalid conversion from 'GLvoid (*)()' to 'void (*)()'
> FTVectoriser.cpp:275: error:   initializing argument 3 of 'void
> gluTessCallback(GLUtesselator*, GLenum, void (*)())' 
> FTVectoriser.cpp:276: error: invalid conversion from 'GLvoid (*)()' to
> 'void (*)()' FTVectoriser.cpp:276: error:   initializing argument 3 of
> 'void gluTessCallback(GLUtesselator*, GLenum, void (*)())'
> FTVectoriser.cpp:277: error: invalid conversion from 'GLvoid (*)()' to
> 'void (*)()' FTVectoriser.cpp:277: error:   initializing argument 3 of
> 'void gluTessCallback(GLUtesselator*, GLenum, void (*)())'
> FTVectoriser.cpp:278: error: invalid conversion from 'GLvoid (*)()' to
> 'void (*)()' FTVectoriser.cpp:278: error:   initializing argument 3 of
> 'void gluTessCallback(GLUtesselator*, GLenum, void (*)())'
> FTVectoriser.cpp:279: error: invalid conversion from 'GLvoid (*)()' to
> 'void (*)()' FTVectoriser.cpp:279: error:   initializing argument 3 of
> 'void gluTessCallback(GLUtesselator*, GLenum, void (*)())'

> on gcc-3.4.4-3 the same error occurred.
> 
> However on mingw, I could build it after some modification about opengl
> on windows. FTVectoriser.cpp was comliped without errors on mingw.
> 
> So it seems that it is a gcc on cygwin specfic issue.
> 
> How can I overcome this issue?

  This sounds like the sort of C++ compat issue that might be given leeway by
adding -fpermissive to your CXXFLAGS.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]