comp.lang.ada
 help / color / mirror / Atom feed
* pragma import (C, , ); -- import a constant value from C library
@ 2012-10-26 22:45 Enzo Guerra
  2012-10-26 23:06 ` Simon Wright
  2012-10-27  7:40 ` Dmitry A. Kazakov
  0 siblings, 2 replies; 8+ messages in thread
From: Enzo Guerra @ 2012-10-26 22:45 UTC (permalink / raw)


hello
trying to import a constant value from C library (libgsl)
but having no luck

 M_EULER : Long_Float;
 -- M_EULER, Euler's constant, \gamma
pragma Import (C, M_EULER, "M_EULER");

get error undefined reference to `M_EULER'

would appreciate any help
thanks
enzo



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

end of thread, other threads:[~2012-11-05  3:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-26 22:45 pragma import (C, , ); -- import a constant value from C library Enzo Guerra
2012-10-26 23:06 ` Simon Wright
2012-10-27  7:15   ` Maciej Sobczak
2012-11-05  3:41     ` David Thompson
2012-10-27  7:40 ` Dmitry A. Kazakov
2012-10-27  8:15   ` Simon Wright
2012-10-27  8:19   ` Simon Wright
2012-10-27  8:47     ` Dmitry A. Kazakov

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