comp.lang.ada
 help / color / mirror / Atom feed
* -fdump-ada-spec: "FILE" not declared
@ 2020-04-07 17:10 hreba
  2020-04-07 17:19 ` hreba
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: hreba @ 2020-04-07 17:10 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-04-15 20:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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