GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #13964

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Mirsad Todorovac
Subject: GPC 20060325 @ gcc-4.1.1 build problems
Date: 13 Feb 2007, 22:01:45


On Tue, 13 Feb 2007, Maurice Lombardi wrote:

> Mirsad Todorovac a écrit:
>> 
>> On Mon, 12 Feb 2007, Russ Whitaker wrote:
>> 
>>>> I used the patch gcc-4.1-5.diff on gcc-4.1.1, and a simple
>
> Have you applied _also_ gpc-4.1-5.diff (to be found also on Waldeck site)
> it replaces warning by gpc_warning in parse.y, which seems to correspond
> to your error messages below

Of course, not. I have applied only gcc-4.1-5f.diff, thinking that the 
rest is a typo.

Mea culpa.

I can confirm the succesful compile now. Tests will follow.

Thank you very much, and I hope to be able to return the favor.

Mirsad

>> then the gpc.h passed compilation, but it failed on parse.c:
>> 
>> /usr/bin/gcc -o p/parse.o -c   -g -O2  -DIN_GCC   -W -Wall -Wwrite-strings 
>> -Wstrict-prototypes -Wmissing-prototypes     -DHAVE_CONFIG_H -I. -Ip 
>> -I../../gcc-4.1.1/gcc -I../../gcc-4.1.1/gcc/p 
>> -I../../gcc-4.1.1/gcc/../include -I../../gcc-4.1.1/gcc/../libcpp/include 
>> -I. -Ip -I../../gcc-4.1.1/gcc -I../../gcc-4.1.1/gcc/p 
>> -I../../gcc-4.1.1/gcc/../include -I../../gcc-4.1.1/gcc/../libcpp/include 
>> -DGPC -DGPC_UNITS_DIR=\"/usr/local/lib/gcc/i686-pc-linux-gnu/4.1.1/units\" 
>> -I../../gcc-4.1.1/gcc/p  ../../gcc-4.1.1/gcc/p/parse.c
>> parse.y: In function `yyuserAction':
>> parse.y:378: warning: passing arg 1 of `warning' makes integer from pointer 
>> without a cast
>> parse.y:378: error: too few arguments to function `warning'
>> parse.y:436: warning: passing arg 1 of `warning' makes integer from pointer 
>> without a cast
>> parse.y:436: error: too few arguments to function `warning'
>> parse.y:548: warning: passing arg 1 of `warning' makes integer from pointer 
>> without a cast
>> parse.y:548: error: too few arguments to function `warning'
>> parse.y:789: warning: passing arg 1 of `warning' makes integer from pointer 
>> without a cast
>> parse.y:789: error: too few arguments to function `warning'
>> parse.y:1530: warning: passing arg 1 of `warning' makes integer from 
>> pointer without a cast
>> parse.y:1530: error: too few arguments to function `warning'
>> parse.y:1610: warning: passing arg 1 of `warning' makes integer from 
>> pointer without a cast
>> parse.y:1610: error: too few arguments to function `warning'
>> parse.y:2396: warning: passing arg 1 of `warning' makes integer from 
>> pointer without a cast
>> parse.y:2396: error: too few arguments to function `warning'
>> make[2]: *** [p/parse.o] Error 1
>> make[2]: Leaving directory 
>> `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build/gcc'
>> make[1]: *** [all-gcc] Error 2
>> make[1]: Leaving directory 
>> `/home/admin/mtodorov/pascal/gpc20060325@gcc-4.1.1-build'
>> make: *** [all] Error 2
>
> -- 
>       Maurice Lombardi
> Laboratoire de  Spectrometrie Physique,
> Universite Joseph Fourier de Grenoble, BP87
> 38402 Saint Martin d'Heres Cedex     FRANCE
> Tel: 33 (0)4 76 51 47 51
> Fax: 33 (0)4 76 63 54 95
> mailto:Maurice.Lombardi@ujf-grenoble.fr
>
>
>

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


In reply to

Author Subject Date
Mirsad Todorovac GPC 20060325 @ gcc-4.1.1 build problems 12 Feb 2007, 15:34:09
Russell Whitaker GPC 20060325 @ gcc-4.1.1 build problems 12 Feb 2007, 07:44:49
Mirsad Todorovac GPC 20060325 @ gcc-4.1.1 build problems 12 Feb 2007, 20:15:50
Maurice Lombardi GPC 20060325 @ gcc-4.1.1 build problems 13 Feb 2007, 15:20:48

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).