comp.lang.ada
 help / color / mirror / Atom feed
From: Dirk Heinrichs <ext-dirk.heinrichs@nokia.com>
Subject: Re: Compiling on Gentoo gnat (gcc) 4.1.1 fails on warning.
Date: Tue, 19 Sep 2006 12:48:47 GMT
Date: 2006-09-19T12:48:47+00:00	[thread overview]
Message-ID: <PGRPg.38152$Nb2.715640@news1.nokia.com> (raw)
In-Reply-To: 39815$450fe62a$50632e62$21834@news.chello.hu

Sandor Lengyel wrote:

> No there is no problem in compiling gnat-gcc (4.1.1). The problem is in
> using it, although it might be a pecularity of ADA 2005.
> 
> For exampe in compiling gps
> 
>  gnatgcc -c -g -gnatec=/usr/src/gpscvs/gps/glide/gnat_debug.adc -g -O
>  -gnata
> -gnatVa -gnatQ -gnaty -gnatwjmeurk -Wall -I-
> -gnatA /usr/src/gpscvs/gps/src_editor/src/src_editor_module.adb
> src_editor_module.adb:27:35: warning: "Color" is already use_visible
> through declaration at src_editor_module.ads:24
> src_editor_module.adb:31:35: warning: "Glib" is already use_visible
> through declaration at src_editor_module.ads:22

These are warnings, but you have -gnatwe switched on which means "Treat
warnings as errors".

HTH...

        Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs@capgemini.com
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net



      reply	other threads:[~2006-09-19 12:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-06  5:24 Compiling on Gentoo gnat (gcc) 4.1.1 fails on warning Sandor Lengyel
2006-09-06  7:48 ` george
2006-09-19 12:45   ` Sandor Lengyel
2006-09-19 12:48     ` Dirk Heinrichs [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox