[fetter-devel] parsing of extern

Osei Poku osei.poku at gmail.com
Tue Jul 29 23:33:55 UTC 2008


Hi,

I am just beginning to look at verrazano code.

I tried to generate OpenGL headers based on the code from the generate- 
example-bindings file.

So I spent a while investigating this....

it seems gccxml is createing this node...

   <Function id="_5" name="glutGetProcAddress" returns="_1272"  
context="_1" location="f1:673" file="f1" line="673" extern="1">
     <Argument name="procName" type="_2509" location="f1:673"  
file="f1" line="673"/>
   </Function>


however, when the gccxml:extern slot is being set, it complains that  
it cannot set the slot because this slot's type is boolean but the  
string "1" is the value being set.  Is there something, that changed  
in gccxml or a way to convert a "0"/"1" to a boolean NIL/T value for  
boolean types?

gcc-xml version is 0.9.0
i pulled verrazano from CVS today.

Osei



More information about the fetter-devel mailing list