This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/48835] Porting GNAT to GNU/Linux/m68k
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 17 Oct 2011 22:21:20 +0000
- Subject: [Bug ada/48835] Porting GNAT to GNU/Linux/m68k
- Auto-submitted: auto-generated
- References: <bug-48835-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48835
--- Comment #40 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-10-17 22:21:20 UTC ---
> Iâd rather see the System.Address type being made a C pointer type,
> globally, in the first place. Since I donât speak Ada, I canât do
> it âthe right wayâ. But what prevents us from changing Char_Ptr in
> + type Char_Ptr is access all Character;
> + pragma Convention (C, Char_Ptr);
> + pragma No_Strict_Aliasing (Char_Ptr);
> to System.Address, replacing the previous âopaqueâ definition?
See the first part of comment #11. Ada doesn't like pointers very much.