I have the following task specification:
with Ada.Real_Time; use Ada.Real_Time;
package pkg_task is
task type task_t is
activationTime : constant Integer := 1;
period : constant Integer := 2;
computingTime : constant Integer := 1;
startingTime : Time;
end task_t;
end pkg_task;
When I compile I obtain the error mentioned on the title in all the lines of the task specification where I declare the variables, and I don't know what is the problem.