On 30/08/2022 16:38, Joel Sherrill wrote:
    +  /*
    +   * Ignore these warnings:
    +   *
    +   * - invalid use of structure with flexible array member
    +   *
    +   * - struct has no members
    +   */
    +  #pragma GCC diagnostic push
    +  #pragma GCC diagnostic ignored "-Wpedantic"


This is heavy handed. -Warray-bounds should be enough.

There is no array bounds warning. There are only the above two -Wpedantic warnings.

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to