[MacPorts] #16981: openvrml-0.17.9: new port

MacPorts noreply at macports.org
Mon Nov 3 14:00:15 PST 2008


#16981: openvrml-0.17.9: new port
---------------------------------+------------------------------------------
  Reporter:  raphael at ira.uka.de  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  enhancement         |      Status:  new                                  
  Priority:  Normal              |   Milestone:  Port Submissions                     
 Component:  ports               |     Version:  1.6.0                                
Resolution:                      |    Keywords:  vrml new port                        
      Port:  openvrml            |  
---------------------------------+------------------------------------------

Comment(by raphael at ira.uka.de):

 Replying to [comment:12 braden@…]:
 > The function signature
 >
 > void f();
 >
 > means different things in C and C++.

 Thanks for your explanation! I wasn't aware of this important difference.

 > While I'll grant it's possible that the error message is using the
 varargs notation to mean "the arg list is undefined", note that OpenVRML
 is entirely C++; and there is no concept of a declared function with an
 undefined arg list in C++.

 I propose that the configure script should use the C++ compiler instead of
 the C compiler to test for the callback function type, since ISO C
 obviously does not like {{{GLvoid (*)(...)}}}. With the unpatched version
 of your configure script and using the C++ compiler, I finally get the
 correct error on 10.5.5:
 {{{
 error: invalid conversion from ‘GLvoid (*)(...)’ to ‘GLvoid (*)()’
 error:   initializing argument 3 of ‘void gluTessCallback(GLUtesselator*,
 GLenum, GLvoid (*)())’
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/16981#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list