re PR ada/87396 (ada/gcc-interface/decl.c:8798:53:Value Conversion Issue: implicit conversion from 'int' to 'char' changes value from 132 to -124: -Wconstant-conversion)
PR ada/87396 * fe.h (Get_Attribute_Definition_Clause): Use 'unsigned char' instead of 'char' as the type of the second parameter. From-SVN: r264525
This commit is contained in:
parent
e78c3eb320
commit
30e36fd00d
@ -1,3 +1,9 @@
|
||||
2018-09-24 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
PR ada/87396
|
||||
* fe.h (Get_Attribute_Definition_Clause): Use 'unsigned char' instead
|
||||
of 'char' as the type of the second parameter.
|
||||
|
||||
2018-09-13 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* Makefile.rtl (arm% linux-gnueabi%): Always set EH_MECHANISM to -arm.
|
||||
|
@ -85,7 +85,7 @@ extern void Set_RM_Size (Entity_Id, Uint);
|
||||
extern Boolean Is_Entity_Name (Node_Id);
|
||||
|
||||
#define Get_Attribute_Definition_Clause einfo__get_attribute_definition_clause
|
||||
extern Node_Id Get_Attribute_Definition_Clause (Entity_Id, char);
|
||||
extern Node_Id Get_Attribute_Definition_Clause (Entity_Id, unsigned char);
|
||||
|
||||
/* errout: */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user