comp.lang.ada
 help / color / mirror / Atom feed
From: robinmoss@e2eservices.co.uk
Subject: raised CONSTRAINT_ERROR : gnattest-skeleton-source_table.adb:1023 access check failed
Date: Thu, 22 Feb 2018 06:36:39 -0800 (PST)
Date: 2018-02-22T06:36:39-08:00	[thread overview]
Message-ID: <29d286a8-f740-4478-8619-8235f977665c@googlegroups.com> (raw)

Hello,

I've managed to get gnattest to run locally but I hit the above error when i try to generate stubs for my code.

Anyone got an idea what could be causing this problem? the verbose output doesn't give me many leads. Any support would be appreciated

    gnattest firmware_host.gpr --stub -v src/rest/json/firmware-rest-v0_0_1.ads
    gnattest GPL 2017 (20170515)
    Copyright 2011-2017, AdaCore.
    [0] firmware-rest-v0_0_1.ads
    warning: (gnattest) firmware-rest-v0_0_1.ads:27:1: elaboration control pragma
     this can cause circularity in the test harness
    raised CONSTRAINT_ERROR : gnattest-skeleton-source_table.adb:1023 access check failed


The line that has the error is:

   function Get_Project_Path (Project_Name : String) return String is
   begin
      return Project_File_Table.Element
>       (PF_Table, Project_Name).Path.all;
   end Get_Project_Path;

             reply	other threads:[~2018-02-22 14:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-22 14:36 robinmoss [this message]
2018-02-23 10:53 ` raised CONSTRAINT_ERROR : gnattest-skeleton-source_table.adb:1023 access check failed robinmoss
replies disabled

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