comp.lang.ada
 help / color / mirror / Atom feed
* Problems with SPARK 2015 and XMLAda
@ 2015-08-19 15:58 Serge Robyns
  2015-08-19 20:21 ` Simon Wright
  0 siblings, 1 reply; 25+ messages in thread
From: Serge Robyns @ 2015-08-19 15:58 UTC (permalink / raw)


Hi,

I'm trying to use Spark on my little project.
I managed to make it work on some other toy but here it chokes on what seems to be references to XMLAda in my project.  However, the file I'm analyzing is not using any XML feature (others does).

I've no idea how to fix this.

Here is the excerpt of the command line execution.

Phase 1 of 2: generation of Global contracts ...
gprbuild --config=T:\SPARK\2015\share\spark\config\frames.cgpr -P ../test.
gpr -c -v --subdirs=gnatprove --restricted-to-languages=ada --no-object-check test-accounts.adb -cargs:Ada -gnatc -gnates=T:\Documents\Development\Test\obj\gnatprove\\35e4eb76.tmp
GPRBUILD GPL 2015 (20150428) (i686-pc-mingw32)
Copyright (C) 2004-2015, Free Software Foundation, Inc.
 102 lines: No errors
Checking configuration T:\SPARK\2015\share\spark\config\frames.cgpr
Setting the default project search directories
   Adding directory "T:\SPARK\2015\libexec\spark\x86-windows\lib\gnat"
   Adding directory "T:\SPARK\2015\libexec\spark\x86-windows\share\gpr"
   Adding directory "T:\SPARK\2015\libexec\spark\share\gpr"
   Adding directory "T:\SPARK\2015\libexec\spark\lib\gnat"

==============Error messages for project file: T:\Documents\Development\Test\test.gpr
    11.    Library_Type : Xmlada_Kind_Type := external ("LIBRARY_TYPE");
           1                                  2
        >>> no value defined for "library_type"
        >>> warning: undefined external reference

    14.    Xmlada_Build : Build_Kind := external ("XMLADA_BUILD");
           1                            2
        >>> no value defined for "xmlada_build"
        >>> warning: undefined external reference

 102 lines: 2 errors, 2 warnings
gprbuild: "../test.gpr" processing failed
gnatprove: error during generation of Global contracts


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

end of thread, other threads:[~2015-08-24 21:32 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-19 15:58 Problems with SPARK 2015 and XMLAda Serge Robyns
2015-08-19 20:21 ` Simon Wright
2015-08-19 21:22   ` Serge Robyns
2015-08-20  7:10     ` Jacob Sparre Andersen
2015-08-20 10:06       ` Mark Lorenzen
2015-08-20 16:38     ` Shark8
2015-08-20 18:42       ` Peter Chapin
2015-08-20 19:13         ` Jeffrey R. Carter
2015-08-20 20:00       ` Serge Robyns
2015-08-20 20:36       ` Randy Brukardt
2015-08-20 23:21         ` Shark8
2015-08-21  6:26         ` Stefan.Lucks
2015-08-21  7:30           ` Dmitry A. Kazakov
2015-08-21  8:19             ` Stefan.Lucks
2015-08-21  9:37               ` Dmitry A. Kazakov
2015-08-21 10:09                 ` G.B.
2015-08-21 11:56                   ` Dmitry A. Kazakov
2015-08-21 13:46                     ` G.B.
2015-08-21 14:45                       ` brbarkstrom
2015-08-21 15:34                       ` Dmitry A. Kazakov
2015-08-21 23:44                       ` Bob Duff
2015-08-22  6:22                         ` Dmitry A. Kazakov
2015-08-21 10:43                 ` Stefan.Lucks
2015-08-21 12:35                   ` Dmitry A. Kazakov
2015-08-24 21:32               ` Randy Brukardt

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