delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/25/05:27:26

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <20080919074956 DOT 48009 DOT qmail AT web3306 DOT mail DOT ogk DOT yahoo DOT co DOT jp>
Subject: RE: Cannot build ftgl-2.1.3~rc5
Date: Thu, 25 Sep 2008 10:26:33 +0100
Message-ID: <01f401c91ef0$cc9ff870$9601a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <20080919074956.48009.qmail@web3306.mail.ogk.yahoo.co.jp>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019