Skip to content

Commit

Permalink
Disable warning for obsolescent 'Class on untagged incomplete type
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabien-Chouteau committed Feb 1, 2024
1 parent 95b5c3e commit d05bb6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/usb-device.ads
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ package USB.Device is

-- Forward declaration of Class
type USB_Device_Class;
pragma Warnings (Off, "*applying 'Class to an untagged incomplete type*");
type Any_USB_Device_Class is access all USB_Device_Class'Class;
pragma Warnings (On, "*applying 'Class to an untagged incomplete type*");

-- Device Stack --

Expand Down

0 comments on commit d05bb6d

Please sign in to comment.