#1831: config problem with glui library on ubuntu 10.04
-------------------------+--------------------------------------------------
 Reporter:  wagle        |        Type:  bug      
   Status:  new          |    Priority:  normal   
Milestone:               |   Component:  configure
  Version:  trunk        |    Severity:  medium   
 Keywords:  opengl glui  |        Lang:           
    Patch:               |    Platform:  linux    
-------------------------+--------------------------------------------------
 If I have the glui libraries (include files) installed on my ubuntu 10.04
 system, the $ perl configure.pl shell command makes the following
 complaint/warning:
 {{{
 gen::opengl -         Generating OpenGL bindings...In OpenGL header
 '/usr/include/GL/glui.h', can't parse canonicalized prototype for '':
   GLUI_String& glui_format_str(GLUI_String &str, char* fmt, ...);
 Original prototype:
   GLUIAPI GLUI_String& glui_format_str(GLUI_String &str, const char* fmt,
 ...);

 ......................done.
 }}}

 this appears to come from the header file parser in
 parrot/config/gen/opengl.pm throwing out the "const" prefix for a "char *"
 argument:

 {{{
 cc179ba1 (japhb     2008-06-01 03:02:27 +0000  695)
 s/\bconst\b\s*//g;
 }}}

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1831>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to