"需要身体"警告

时间:2017-11-05 05:51:44

标签: compiler-warnings ada

我有以下内容:

-gnatw.e

如果我尝试使用info: in instantiation at a-cohama.ads:73 info: "ID_Count_Hashed_Map" requires body ("Has_Element" requires completion) info: in instantiation at a-cohama.ads:79 info: "ID_Count_Hashed_Map" requires body ("=" requires completion) info: in instantiation at a-cohama.ads:90 info: "ID_Count_Hashed_Map" requires body ("Capacity" requires completion) ... 进行编译,我会收到警告:

-gnatw.e

这些警告意味着什么?我在哪里可以找到文档中的相关内容?而且,如果他们与我的代码无关,如何在保留其余 string add = "set identity_insert ticketing off;insert into ticketing(seat,customerID,tripID,reservationdate,fare) values('" + (string)HttpContext.Current.Session["seats"] + "',(select distinct customerID from customer where email = '" + (string)HttpContext.Current.Session["cusEmail"] + "'),(Select distinct tripID from trip where terminal = '" + (string)HttpContext.Current.Session["origin"] + "' and destination = '" + (string)HttpContext.Current.Session["destination"] + "'),GETDATE()," + totalfare + ")"; 的同时将其关闭?

1 个答案:

答案 0 :(得分:2)

您可以找到GNAT User's Guide

中记录的消息

从指南中引用:

  

建议不要在正常使用时使用此开关。

用户指南继续提供使用-gnatwa的建议。