Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000899Taste[All Projects] ASN.1 Compiler v4public2019-12-07 16:062020-08-31 15:31
Reportergmamais 
Assigned Togmamais 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Summary0000899:

Styling warnings in Ada runtime and Ada generated code

Description

When using the following compilation flags:
-gnatf -gnaty -gnatwa -gnatoa -gnatg -fstack-check
gnat reports various style warnings such as:

adaasn1rtl.adb:7:26: (style) space required
adaasn1rtl.adb:11:25: (style) bad casing of "i" declared at line 9
adaasn1rtl.adb:11:39: (style) bad casing of "Ascii" declared in Standard
adaasn1rtl.adb:14:01: (style) trailing spaces not permitted
adaasn1rtl.adb:17:01: (style) trailing spaces not permitted
adaasn1rtl.adb:18:01: (style) trailing spaces not permitted

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0003731)
gmamais (developer)
2020-07-22 18:43

Resolved. The compilation flags were added in the generated make file and no styling or other kind of warnings are reported anymore.
Please note that the Ada runtime is fully compliant.
The generated code is mostly compliant but not 100% compliant (for instance it is very difficult to control the size of the generated lines).
For this reason, a pragma Style_Checks (Off); was added at the beginning of the generated code files.


- Issue History
Date Modified Username Field Change
2019-12-07 16:06 gmamais New Issue
2019-12-07 16:06 gmamais Status

new => assigned

2019-12-07 16:06 gmamais Assigned To

=> gmamais

2020-07-22 18:43 gmamais Note Added: 0003731
2020-07-22 18:43 gmamais Status

assigned => resolved

2020-07-22 18:43 gmamais Resolution

open => fixed

2020-08-31 15:31 maxime Status

resolved => closed



Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker