detail.php
OW2 Forge: Detail: 313781 problem when using glib

Advanced - Powered by Google


   
Log In
New Account
  
 
Home
My Page
Project Tree
Project Openings
THINK
          
 
 
Summary
Tracker
Lists
Tasks
News
CVS
Files
SVN
                
 

Tracker: codegen

Submit New | Browse | Admin | ExportToXml

[ #313781 ] problem when using glib

Date:
2009-05-22 15:25
Priority:
5
Submitted By:
chouaieb (chouaieb)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
problem when using glib

Detailed description:
I was trying to trying to build a component that uses glib library. but when compiling I got this error: [java] Exception in thread "main" java.lang.Error: java.lang.Exception: org.objectweb.think.codegen.lang.c.parser.visitor.CToCodeGenTranslator$ParseError: error: /usr/include/glib-2.0/glib/gscanner.h:81:3: error: enumerator value for 'G_TOKEN_LEFT_PAREN' is not an integer constant gscanner.h contains this line: typedef enum { ... G_TOKEN_LEFT_PAREN = '(', ... apparently glib uses characters for enumeration and codegen do not recognize that. When I changed the gscanner.h file and used integers in the place of characters the example worked.

Add A Comment:

Please login

Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Resource id #66listtable
resolution_id
Field Old Value Date By
resolution_idNone2009-05-25 14:29chouaieb

Copyright © 1999-2008, OW2 Consortium | contact | You've got a problem ? Please report an issue using your OW2 forge account credentials