PR# 13272 error: cannot convert to a pointer

Problem Report Summary
Submitter: aleitner
Category: C Compilation
Priority: Medium
Date: 2007/07/02
Class: Bug
Severity: Serious
Number: 13272
Release: 6.0.6.9201 GPL Edition - linux-x86
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.1.4) Gecko/20061201 Epiphany/2.18 Firefox/2.0.0.4 (Ubuntu-feisty); ; gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Synopsis: error: cannot convert to a pointer

Description
when trying to compile a rather simple example (involving Erl-G though)
that does not involve any externals in addition to the one from base I
get the following error:

/home/aleitner/src/erl_g/example/hello_world/./EIFGENs/hello_world/F_code/C2/st171.x:1622:96: warning: integer constant is so large that it is unsigned
/home/aleitner/src/erl_g/example/hello_world/./EIFGENs/hello_world/F_code/C2/st171.x: In function `Fc44o87':
/home/aleitner/src/erl_g/example/hello_world/./EIFGENs/hello_world/F_code/C2/st171.x:1622: warning: this decimal constant is unsigned only in ISO C90
ececil.c: In function `_fAaa953f_1':
ececil.c:36062: warning: cast to pointer from integer of different size
ececil.c: In function `_fAaa9537_1':
ececil.c:36069: warning: cast to pointer from integer of different size
ececil.c: In function `_fAaa9543_1':
ececil.c:36076: warning: cast to pointer from integer of different size
ececil.c: In function `_fAaa955s_1':
ececil.c:36083: warning: cast to pointer from integer of different size
ececil.c: In function `_fAaa956b_1':
ececil.c:36090: error: cannot convert to a pointer type
ececil.c: In function `_fAaa956y_1':
ececil.c:36097: error: cannot convert to a pointer type
ececil.c: In function `__fAaa953f_1':
ececil.c:36139: warning: cast to pointer from integer of different size
ececil.c: In function `__fAaa9537_1':
ececil.c:36146: warning: cast to pointer from integer of different size
ececil.c: In function `__fAaa9543_1':
ececil.c:36153: warning: cast to pointer from integer of different size
ececil.c: In function `__fAaa955s_1':
ececil.c:36160: warning: cast to pointer from integer of different size
ececil.c: In function `__fAaa956b_1':
ececil.c:36167: error: cannot convert to a pointer type
ececil.c: In function `__fAaa956y_1':
ececil.c:36174: error: cannot convert to a pointer type
ececil.c: In function `_fAaa9i5t_1':
ececil.c:37294: warning: cast to pointer from integer of different size
ececil.c: In function `_fAaa9i6l_1':
ececil.c:37301: warning: cast to pointer from integer of different size
ececil.c: In function `_fAaa9i7h_1':
ececil.c:37308: warning: cast to pointer from integer of different size
ececil.c: In function `_fAaa9i75_1':
ececil.c:37315: warning: cast to pointer from integer of different size
ececil.c: In function `_fAaa9i8p_1':
ececil.c:37322: error: cannot convert to a pointer type
ececil.c: In function `_fAaa9i9b_1':
ececil.c:37329: error: cannot convert to a pointer type
ececil.c: In function `__fAaa9i5t_1':
ececil.c:37371: warning: cast to pointer from integer of different size
ececil.c: In function `__fAaa9i6l_1':
ececil.c:37378: warning: cast to pointer from integer of different size
ececil.c: In function `__fAaa9i7h_1':
ececil.c:37385: warning: cast to pointer from integer of different size
ececil.c: In function `__fAaa9i75_1':
ececil.c:37392: warning: cast to pointer from integer of different size
ececil.c: In function `__fAaa9i8p_1':
ececil.c:37399: error: cannot convert to a pointer type
ececil.c: In function `__fAaa9i9b_1':
ececil.c:37406: error: cannot convert to a pointer type
make[1]: *** [ececil.o] Error 1
make: *** [E1/ececil.o] Error 2
make: *** Waiting for unfinished jobs....
/home/aleitner/src/erl_g/example/hello_world/./EIFGENs/hello_world/F_code/C5/er439.x:2415:325: warning: integer constant is so large that it is unsigned
/home/aleitner/src/erl_g/example/hello_world/./EIFGENs/hello_world/F_code/C5/er439.x: In function `Fd8r313':
/home/aleitner/src/erl_g/example/hello_world/./EIFGENs/hello_world/F_code/C5/er439.x:2415: warning: this decimal constant is unsigned only in ISO C90
/home/aleitner/src/erl_g/example/hello_world/./EIFGENs/hello_world/F_code/C5/er439.x:7112:325: warning: integer constant is so large that it is unsigned
/home/aleitner/src/erl_g/example/hello_world/./EIFGENs/hello_world/F_code/C5/er439.x: In function `Fd8sr_q':
/home/aleitner/src/erl_g/example/hello_world/./EIFGENs/hello_world/F_code/C5/er439.x:7112: warning: this decimal constant is unsigned only in ISO C90
/home/aleitner/src/erl_g/example/hello_world/./EIFGENs/hello_world/F_code/C2/st170.x:1579:96: warning: integer constant is so large that it is unsigned
/home/aleitner/src/erl_g/example/hello_world/./EIFGENs/hello_world/F_code/C2/st170.x: In function `Fc2gp22':
/home/aleitner/src/erl_g/example/hello_world/./EIFGENs/hello_world/F_code/C2/st170.x:1579: warning: this decimal constant is unsigned only in ISO C90
/home/aleitner/src/erl_g/example/hello_world/./EIFGENs/hello_world/F_code/C1/in74.x:218:114: warning: integer constant is so large that it is unsigned
/home/aleitner/src/erl_g/example/hello_world/./EIFGENs/hello_world/F_code/C1/in74.x: In function `Fa3j22b':
/home/aleitner/src/erl_g/example/hello_world/./EIFGENs/hello_world/F_code/C1/in74.x:218: warning: this decimal constant is unsigned only in ISO C90
/home/aleitner/src/erl_g/example/hello_world/./EIFGENs/hello_world/F_code/C1/in74.x:222:114: warning: integer constant is so large that it is unsigned
/home/aleitner/src/erl_g/example/hello_world/./EIFGENs/hello_world/F_code/C1/in74.x:222: warning: this decimal constant is unsigned only in ISO C90
To Reproduce
Checkout erl-g from svn: https://svn.origo.ethz.ch/autotest/trunk/erl_g/
set environment variable ERL_G to where you checked it out to.
$cd $ERL_G
$geant compile
$cd example/hello_world
$geant install
$geant compile_ise

If you have problems with the above, please let me know.
Problem Report Interactions
From:aleitner    Date:2007/07/17    Download   
Is there any news on the report? Please let me know if you need further information.

From:aleitner    Date:2007/07/02    Download   
Sorry I forgot a step in the bug reproduction. Please do the following instead:

Checkout erl-g from svn: https://svn.origo.ethz.ch/autotest/trunk/erl_g/
set environment variable ERL_G to where you checked it out to.
$cd $ERL_G
$geant install
$geant compile
$cd example/hello_world
$geant install
$geant compile_ise