From: hreba <f_hreba@yahoo.com.br>
Subject: -fdump-ada-spec: "FILE" not declared
Date: Tue, 7 Apr 2020 19:10:45 +0200
Date: 2020-04-07T19:10:45+02:00 [thread overview]
Message-ID: <hf3qglFt27eU1@mid.individual.net> (raw)
Hi,
I am trying to generate Ada bindings for the GSL (Gnu Scientific
Library) odeiv2 package (ordinary differential equations). So I do the
following 2 steps:
1. Go to an empty directory "src" and execute
g++ -c -fdump-ada-spec -C /usr/include/gsl/gsl_odeiv2.h
2. Go to an empty directory "obj" and execute
gcc -c -gnat05 ../src/*.ads
Unfortunately, gsl_odeiv2.h includes stdio.h, and this leads to a series
of errors like
stdio_h.ads:117:69: "FILE" not declared in
"x86_64_linux_gnu_bits_types_FILE_h"
--
Frank Hrebabetzky, Kronach +49 / 9261 / 950 0565
next reply other threads:[~2020-04-07 17:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-07 17:10 hreba [this message]
2020-04-07 17:19 ` -fdump-ada-spec: "FILE" not declared hreba
2020-04-11 17:01 ` hreba
2020-04-15 15:08 ` hreba
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