From: hreba <f_hreba@yahoo.com.br>
Subject: Re: -fdump-ada-spec: "FILE" not declared
Date: Wed, 15 Apr 2020 17:08:43 +0200
Date: 2020-04-15T17:08:43+02:00 [thread overview]
Message-ID: <hfombsFbt3dU1@mid.individual.net> (raw)
In-Reply-To: <hfebekF5ne4U1@mid.individual.net>
On 4/11/20 7:01 PM, hreba wrote:
> Just to let you know that the problem has been solved after a hint on
> stackoverflow: using -fdump-ada-spec-slim instead of -fdup-ada-spec one
> gets only the Ada bindings of that .h file one asked for, and not those
> of all included header files (recursively). Then one manually adds the
> header files which one really needs. No need for a declaration of FILE
> anymore.
The problem appeared again with other C files, but this time I found the
solution on the web. From Interfaces.C_Streams:
subtype FILEs is System.Address;
-- Corresponds to the C type FILE*
--
Frank Hrebabetzky, Kronach +49 / 9261 / 950 0565
next prev parent reply other threads:[~2020-04-15 15:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-07 17:10 -fdump-ada-spec: "FILE" not declared hreba
2020-04-07 17:19 ` hreba
2020-04-11 17:01 ` hreba
2020-04-15 15:08 ` hreba [this message]
2020-04-07 19:29 ` Per Sandberg
2020-04-08 16:13 ` hreba
2020-04-15 20:02 ` Per Sandberg
2020-04-15 15:18 ` Luke A. Guest
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox